Skip to content

Commit

Permalink
Have Travis also build on Debian and on Ubuntu with Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuron committed Aug 31, 2016
1 parent 55b64a4 commit c45f36d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Expand Up @@ -3,14 +3,12 @@ sudo: required

services: docker

before_install:
- docker pull espressomd/travis-build:latest


env:
matrix:
- myconfig=default
- myconfig=maxset
- myconfig=maxset image=ubuntu-python3
- myconfig=maxset image=debian
- myconfig=maxset-gaussrandom
- myconfig=maxset-gaussrandomcut
- myconfig=molcut
Expand Down
6 changes: 5 additions & 1 deletion maintainer/travis/build_docker.sh
Expand Up @@ -13,4 +13,8 @@ check_procs=$check_procs
make_check=$make_check
EOF

docker run -u espresso --env-file $ENV_FILE -v ${PWD}:/travis -it espressomd/travis-build /bin/bash -c "git clone /travis && cd travis && maintainer/travis/build_cmake.sh"
if [ -z "$image" ]; then
image=ubuntu
fi

docker run -u espresso --env-file $ENV_FILE -v ${PWD}:/travis -it espressomd/buildenv-espresso-${image} /bin/bash -c "git clone /travis && cd travis && maintainer/travis/build_cmake.sh"

0 comments on commit c45f36d

Please sign in to comment.