Skip to content

Commit

Permalink
Set language to shell
Browse files Browse the repository at this point in the history
  • Loading branch information
wcarthur committed Nov 13, 2020
1 parent fee77f7 commit 4775b3b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
@@ -1,8 +1,10 @@
language: python
python:
- '3.6'
- '3.7'
- '3.8'
language: shell

env:
- PYTHON_VERSION=3.6
- PYTHON_VERSION=3.7
- PYTHON_VERSION=3.8

os:
- linux
- windows
Expand All @@ -18,9 +20,11 @@ branches:
except:
- config
- notebooks

script:
- python installer/setup.py build_ext -i
- nosetests -v --with-coverage --cover-package=.

after_success: coveralls
notifications:
slack:
Expand Down
4 changes: 2 additions & 2 deletions postinstall.sh
Expand Up @@ -23,7 +23,7 @@ fi;
source $MINICONDA_PATH/etc/profile.d/conda.sh;
hash -r;
echo $TRAVIS_OS_NAME
echo $CONDA_PYTHON
echo $PYTHON_VERSION
python --version
conda config --set always_yes yes --set changeps1 no;
conda update -q conda;
Expand All @@ -33,6 +33,6 @@ conda config --set channel_priority strict;
conda info -a

echo "Create TCRM environment"
conda env create -q -f tcrmenv.yml python=$TRAVIS_PYTHON_VERSION;
conda env create -q -f tcrmenv.yml python=$PYTHON_VERSION;
conda activate tcrm
conda list

0 comments on commit 4775b3b

Please sign in to comment.