Commit b66ae458 authored by jay's avatar jay
Browse files

Trying to get Travis building

parent ccdba249
Loading
Loading
Loading
Loading
+1 −14
Original line number Diff line number Diff line
@@ -4,10 +4,6 @@ branches:
only:
  - master

env:
  global:
    - BINSTAR_USER: jlaura

os:
  - linux
  - osx
@@ -48,22 +44,13 @@ install:
  # Development installation
  - conda install pytest  pytest-cov sh anaconda-client

  # Straight from the menpo team
  - if [["$TRAVIS_OS_NAME" == "osx"]]; then
      curl -o condaci.py https://raw.githubusercontent.com/menpo/condaci/v0.4.8/condaci.py;
    else
      wget https://raw.githubusercontent.com/menpo/condaci/v0.4.8/condaci.py -O condaci.py;
    fi
  - python condaci.py setup


script:
  - pytest --cov=plio
  # After test success, package and upload to Anaconda
  - ~/miniconda/bin/python condaci.py build ./conda

after_success:
  - coveralls
  - conda install conda-build && conda install anaconda-client && conda config --set anaconda_upload yes && conda build --token $CONDA_UPLOAD_TOKEN .

notifications:
  webhooks: