Skip to content

Commit

Permalink
Merge pull request #305 from neutrons/reinstate_py27
Browse files Browse the repository at this point in the history
Reinstate Py2.7 in CI/CD
  • Loading branch information
marshallmcdonnell authored Sep 11, 2020
2 parents a93ea8c + df3cb61 commit f490436
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ cache:

matrix:
include:
- os: linux
env: CONDA=2.7
- os: linux
env: CONDA=3.6.7

Expand All @@ -34,14 +36,10 @@ install:
- conda config --set always_yes yes --set changeps1 no --set anaconda_upload no
- conda config --add channels conda-forge --add channels marshallmcdonnell --add channels mantid --add channels mantid/label/nightly

# Install mamba
- conda install mamba -c conda-forge
- mamba update mamba -c conda-forge

script:
# TEST: Create test environment
- mamba create -q -n addie_test python=$CONDA mantid-workbench>=4.2 --file requirements.txt --file requirements-dev.txt
- mamba info --envs
- conda create -q -n addie_test python=$CONDA mantid-workbench>=4.2 --file requirements.txt --file requirements-dev.txt
- conda info --envs
- conda activate addie_test
- python --version

Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ pytest
pytest-mpl
pytest-qt
simplejson
typing

0 comments on commit f490436

Please sign in to comment.