Skip to content

Commit

Permalink
Enable travis to test python 3 version
Browse files Browse the repository at this point in the history
Also sources the loadLSST script to ensure that is a valid bash script.
  • Loading branch information
timj committed Sep 6, 2016
1 parent 47447fc commit 4a09f88
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,18 @@ compiler:
- gcc
script: |
if [[ $BATCH == true ]]; then
./scripts/newinstall.sh -cb
echo -e "*** testing batch mode in Python version $PYVER ***\n"
./scripts/newinstall.sh -cb -${PYVER}
else
echo -e "yes\nyes" | ./scripts/newinstall.sh -c
echo -e "*** testing interactive mode in Python version $PYVER ***\n"
echo -e "yes\nyes" | ./scripts/newinstall.sh -c -${PYVER}
fi
source loadLSST.bash
env:
- BATCH=true
- BATCH=false
- BATCH=true PYVER="2"
- BATCH=true PYVER="3"
- BATCH=false PYVER="2"
- BATCH=false PYVER="3"
matrix:
# osx builds are often very slow to start due to high demand
fast_finish: true
Expand Down

0 comments on commit 4a09f88

Please sign in to comment.