-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (51 loc) · 1.27 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
dist: trusty
sudo: false
language: cpp
cache:
directories:
- build/work/superiso_relic
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran
- gcc-6
- g++-6
env: MY_CC=gcc-6 MY_CXX=g++-6 FC=gfortran
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-4.0
packages:
- gfortran
- clang-4.0
- clang++-4.0
env: MY_CC=clang-4.0 MY_CXX="clang++-4.0 -stdlib=libc++" FC=gfortran
notifications:
email: false
irc:
channels:
- "ircs://chat.freenode.net:6697/#freeboson"
template:
- "[%{repository} %{branch}] [%{commit}: %{commit_subject}] : [%{message}]"
on_success: change
on_failure: always
skip_join: true
before_install:
- export CC=$MY_CC
- export CXX=$MY_CXX
- wget https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.sh
- mkdir $HOME/cmake
- sh cmake-3.7.2-Linux-x86_64.sh --prefix=$HOME/cmake --skip-license --exclude-subdir
script:
- (mkdir build || echo "build dir cached")
- cd build
- $HOME/cmake/bin/cmake ..
- travis_wait 60 make SuperIso_Relic
- make