Fix typos and bugs in Travis config file

Forgot to change one of the TEST_TYPEs to TEST_SUITE.
-eq not working, trying == instead.
Cache doesn't seem to be working, removed.
This commit is contained in:
Adam J. Stewart 2016-08-23 11:51:44 -05:00
parent 7f9d098c2f
commit a235d030ac

View file

@ -14,14 +14,11 @@ matrix:
exclude:
- python: 2.6
# Flake8 no longer supports Python 2.6
env: TEST_TYPE=flake8
env: TEST_SUITE=flake8
# Use new Travis infrastructure (Docker can't sudo yet)
sudo: false
# Cache dependencies
cache: pip
# Install various dependencies
install:
- pip install coveralls
@ -40,7 +37,7 @@ before_script:
script: share/spack/qa/run-$TEST_SUITE-tests
after_success:
- if [[ $TEST_SUITE == unit && $TRAVIS_PYTHON_VERSION -eq 2.7 ]]; then coveralls; fi
- if [[ $TEST_SUITE == unit && $TRAVIS_PYTHON_VERSION == 2.7 ]]; then coveralls; fi
notifications:
email: