forked from feelpp/feelpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
74 lines (69 loc) · 3.8 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
language: cpp
git:
depth: 1
submodules: false
matrix:
include:
- os: linux
env: BUILD="ubuntu 17.04,clang-4.0" FEELPP_CXX="clang++-4.0" FEELPP_CC="clang-4.0" TARGET_IMAGE="ubuntu:17.04" TARGET_BRANCH="${TRAVIS_BRANCH}" CMAKE_FLAGS="" CXXFLAGS="-O0 -DNDEBUG"
sudo: required
services:
- docker
- os: linux
env: BUILD="ubuntu 16.10,clang-3.9" FEELPP_CXX="clang++-3.9" FEELPP_CC="clang-3.9" TARGET_IMAGE="ubuntu:16.10" TARGET_BRANCH="${TRAVIS_BRANCH}" CMAKE_FLAGS="" CXXFLAGS="-O0 -DNDEBUG"
sudo: required
services:
- docker
- os: linux
env: BUILD="ubuntu 16.10,gcc-6.2" FEELPP_CXX="g++" FEELPP_CC="gcc" TARGET_IMAGE="ubuntu:16.10" TARGET_BRANCH="${TRAVIS_BRANCH}" CMAKE_FLAGS="-DFEELPP_MESH_MAX_ORDER=1" CXXFLAGS="-O0 -DNDEBUG"
sudo: required
services:
- docker
- os: linux
env: BUILD="debian testing,gcc-6.3" FEELPP_CXX="g++" FEELPP_CC="gcc" CXXFLAGS="-O0 -DNDEBUG" TARGET_IMAGE="debian:testing" TARGET_BRANCH="${TRAVIS_BRANCH}" CMAKE_FLAGS="-DFEELPP_MESH_MAX_ORDER=1"
sudo: required
services:
- docker
- os: linux
env: BUILD="debian testing,clang-3.9" FEELPP_CXX="clang++-3.9" FEELPP_CC="clang-3.9" CXXFLAGS="-O0 -DNDEBUG" TARGET_IMAGE="debian:testing" TARGET_BRANCH="${TRAVIS_BRANCH}" CMAKE_FLAGS="-DFEELPP_MESH_MAX_ORDER=1"
sudo: required
services:
- docker
- os: linux
env: BUILD="debian sid,gcc-6.3" FEELPP_CXX="g++" FEELPP_CC="gcc" CXXFLAGS="-O0 -DNDEBUG" TARGET_IMAGE="debian:sid" TARGET_BRANCH="${TRAVIS_BRANCH}" CMAKE_FLAGS="-DFEELPP_MESH_MAX_ORDER=1"
sudo: required
services:
- docker
- os: linux
env: BUILD="debian sid,clang-4.0" FEELPP_CXX="clang++-4.0" FEELPP_CC="clang-4.0" CXXFLAGS="-O0 -DNDEBUG" TARGET_IMAGE="debian:sid" TARGET_BRANCH="${TRAVIS_BRANCH}" CMAKE_FLAGS="-DFEELPP_MESH_MAX_ORDER=1"
sudo: required
services:
- docker
# - os: osx
# compiler: clang
# env: BUILD="osx clang" FEELPP_CXX="clang++" FEELPP_CC="clang" CXXFLAGS="-O0 -DNDEBUG" TARGET_BRANCH="${TRAVIS_BRANCH}" CMAKE_FLAGS="-DFEELPP_MESH_MAX_ORDER=1"
# osx_image: xcode8.2
allow_failures:
- env: BUILD="ubuntu 16.10,gcc-6.2" FEELPP_CXX="g++" FEELPP_CC="gcc" TARGET_IMAGE="ubuntu:16.10" TARGET_BRANCH="${TRAVIS_BRANCH}" CMAKE_FLAGS="-DFEELPP_MESH_MAX_ORDER=1" CXXFLAGS="-O0 -DNDEBUG"
- env: BUILD="debian testing,gcc-6.3" FEELPP_CXX="g++" FEELPP_CC="gcc" CXXFLAGS="-O0 -DNDEBUG" TARGET_IMAGE="debian:testing" TARGET_BRANCH="${TRAVIS_BRANCH}" CMAKE_FLAGS="-DFEELPP_MESH_MAX_ORDER=1"
- env: BUILD="debian sid,gcc-6.3" FEELPP_CXX="g++" FEELPP_CC="gcc" CXXFLAGS="-O0 -DNDEBUG" TARGET_IMAGE="debian:sid" TARGET_BRANCH="${TRAVIS_BRANCH}" CMAKE_FLAGS="-DFEELPP_MESH_MAX_ORDER=1"
#- env: BUILD="osx clang" FEELPP_CXX="clang++" FEELPP_CC="clang" CXXFLAGS="-O0 -DNDEBUG" TARGET_BRANCH="${TRAVIS_BRANCH}" CMAKE_FLAGS="-DFEELPP_MESH_MAX_ORDER=1"
before_install:
- echo $TRAVIS_OS_NAME
- echo $HOME
- echo "building ${TRAVIS_BRANCH}..."
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then tools/scripts/travis/build-osx.sh ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker --version ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tools/scripts/travis/build-docker.sh ; fi
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker images; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run ${TARGET_IMAGE} true; fi
script:
- true
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/12ef0320a0dce1a9972a
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always