Skip to content

Commit

Permalink
add csh test case to travis matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoblitt committed Jun 15, 2017
1 parent dd9ad75 commit 4b2ea59
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
sudo: false
language: cpp
os:
- linux
Expand All @@ -9,6 +8,10 @@ dist: trusty
compiler:
- clang
- gcc
addons:
apt:
packages:
- csh
script: |
set -e
if [[ $BATCH == true ]]; then
Expand All @@ -18,13 +21,23 @@ script: |
echo -e "*** testing interactive mode in Python version $PYVER ***\n"
echo -e "yes\nyes" | bash -x ./scripts/newinstall.sh -c -${PYVER}
fi
echo -e "*** Initialising bash environment **\n"
source loadLSST.bash
echo -e "*** Testing initializaion of shell environment ***\n"
case $MANGLER in
csh)
csh --version
csh -ec 'source loadLSST.csh && echo $EUPS_PKGROOT'
;;
*)
bash --version
bash -ec 'source loadLSST.bash && echo $EUPS_PKGROOT'
;;
esac
env:
- BATCH=true PYVER="2"
- BATCH=true PYVER="3"
- BATCH=false PYVER="2"
- BATCH=false PYVER="3"
- MANGLER=csh BATCH=true PYVER="3"
matrix:
# osx builds are often very slow to start due to high demand
fast_finish: true
Expand Down

0 comments on commit 4b2ea59

Please sign in to comment.