forked from CodethinkLabs/ofc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 907 Bytes
/
.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
# We run on the container-based infrastructure, sudo is not allowed.
sudo: false
language: c
git:
# If you use a depth of 1 and have a queue of jobs, Travis CI won’t build
# commits that are in the queue when you push a new commit.
depth: 3
# Handle submodules manually to avoid permission problems.
submodules: false
# whitelist
branches:
only:
- master
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- valgrind
- gfortran
- realpath
# Travis CI C builder will export the CC env variable to point to gcc-4.8.
compiler:
- gcc-4.8
before_install:
# Replace the SSH URL with the public URL and initialize submodules
- sed -i 's/[email protected]:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
script:
- make -j 2 test