File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,28 +4,15 @@ python:
44 - " 3.7"
55
66dist : xenial
7- sudo : true
8-
9- before_install :
10- - sudo apt-get update
117
128install :
13- - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
14- wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
15- else
16- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
17- fi
9+ - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
1810 - bash miniconda.sh -b -p $HOME/miniconda
1911 - export PATH="$HOME/miniconda/bin:$PATH"
20- - hash -r
2112 - conda config --set always_yes yes --set changeps1 no
22- - conda update -q conda
23- # Useful for debugging any issues with conda
24- - conda info -a
25- - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy matplotlib pandas pytest h5py
13+ - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
2614 - source activate test-environment
27- - pip install pytest-cov pytest-xdist coverage==4.4
28- - pip install --user codecov
15+ - conda install pytest pytest-cov pytest-xdist coverage
2916 - python setup.py install
3017script :
3118 - PYTHONPATH=$PWD:$PYTHONPATH py.test --cov timesynth
You can’t perform that action at this time.
0 commit comments