Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (31 sloc) 1.09 KB
language: c
sudo: required
branches:
except:
- /^experimental\/.*$/
services:
- docker
compiler:
- gcc
- clang
env:
- IMAGE=ubuntu IMAGE_TAG=bionic
- IMAGE=ubuntu IMAGE_TAG=cosmic
- IMAGE=ubuntu IMAGE_TAG=disco
- IMAGE=fedora IMAGE_TAG=latest
- IMAGE=fedora IMAGE_TAG=rawhide
- IMAGE=nvidia/cuda IMAGE_TAG=7.5-devel BROKEN=1
- IMAGE=nvidia/cuda IMAGE_TAG=8.0-devel BROKEN=1
- IMAGE=nvidia/cuda IMAGE_TAG=9.2-devel BROKEN=1
- IMAGE=nvidia/cuda IMAGE_TAG=10.0-devel
- IMAGE=nvidia/cuda IMAGE_TAG=10.1-devel
before_install:
- export CONTAINER=${IMAGE//\//-}-${IMAGE_TAG}
- docker run -d --name $CONTAINER -e LC_ALL="en_US.UTF-8" -e LANG="en_US.UTF-8" -v $(pwd):/travis -w /travis $IMAGE:$IMAGE_TAG tail -f /dev/null
- docker ps
install:
- docker exec -e BROKEN=$BROKEN -e CC=$CC -e CXX=$CXX -t $CONTAINER bash .travis/install-${IMAGE//\//-}.sh
- docker exec -e BROKEN=$BROKEN -e CC=$CC -e CXX=$CXX -t $CONTAINER bash .travis/install-post.sh
script:
- docker exec -e BROKEN=$BROKEN -e CC=$CC -e CXX=$CXX -t $CONTAINER bash .travis/script.sh
# vim: set ts=2 sts=2 sw=2 et:
You can’t perform that action at this time.