Browse Source

First test of Travis, docker and Ubuntu 16.10

tempestpy_adaptions
Matthias Volk 8 years ago
parent
commit
25be35aa50
  1. 13
      .travis.yml
  2. 5
      travis/install_linux.sh
  3. 5
      travis/postsubmit-helper.sh

13
.travis.yml

@ -11,12 +11,13 @@ matrix:
fast_finish: true
include:
# - compiler: gcc
# env: COMPILER=gcc-6 UBUNTU=17.04 TEST=DebugValgrind
# install: export OS=linux; export COMPILER='gcc-6'; export UBUNTU='17.04'; extras/scripts/travis_ci_install_linux.sh
# os: linux
# script: export OS=linux; export COMPILER='gcc-6'; export UBUNTU='17.04'; extras/scripts/postsubmit.sh
# DebugValgrind
- compiler: gcc
env: COMPILER=gcc-6 UBUNTU=16.10 TEST=DebugPlain
install: export OS=linux; export COMPILER='gcc-6'; export UBUNTU='16.10';
travis/install_linux.sh
os: linux
script: export OS=linux; export COMPILER='gcc-6'; export UBUNTU='16.10';
timeout 2400 travis/postsubmit.sh DebugPlain
# - compiler: gcc
# env: COMPILER=gcc-6 UBUNTU=17.04 TEST=DebugPlain
# install: export OS=linux; export COMPILER='gcc-6'; export UBUNTU='17.04'; extras/scripts/travis_ci_install_linux.sh

5
travis/install_linux.sh

@ -0,0 +1,5 @@
#!/bin/bash -x
set -e
sudo apt-get install -qq -y docker

5
travis/postsubmit-helper.sh

@ -28,6 +28,11 @@ gcc-6)
export CXX=g++-6
;;
gcc-default)
export CC=gcc
export CXX=g++
;;
clang-3.5)
export CC=clang-3.5
export CXX=clang++-3.5

Loading…
Cancel
Save