forked from talksmall/Strongtalk
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
61 lines (54 loc) · 2.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
53
54
55
56
57
58
59
60
61
# http://docs.travis-ci.com/user/languages/cpp/
# start from https://github.com/rubinius/rubinius/blob/master/.travis.yml
language: cpp
sudo: false
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "apQCsHrgsvLfKq+d79YgQ9yQPwV66hSsYrjuA4pp74XTcGgbL52Yn1UJ/PNQZfslkH8u+tJWZJDa8B/B4i+pk4dot4kpafSdC5LA3fwPUHKF5HZ+6sSUKIgpWneTnFzSR7GgQJB2ytNNrA9h0Y/4DsT+GPPe2z2MMS+bVXXIWzY0qvUnlgLFSIAhd9RUlJP/car+8lc4HFcfTOKdlToVQtKrLljCpEYEqv4XVvWAnmsrDrMYZMllo7+mPEVIcqflCBHax+/3LgVYHvn8mJu90Yaa+kKEHItEr5AL3nejZSk1K+qk2F3uZ+pfq4hJOxK0Ampm93duiFjZmLQCmaoU4YPj/jHJnVDq7VMJreM/ZePAl3XJFlchoVOJq74ywbWs0FMrxpri0ADYfNdVptiigQ7pa8lCteXiSMD5qST/e5ZHo2X9jSPtHWW/kfyfay+4EHF1avyBsYz0lnS995m/4zgE8sbxT+Frai43DgnJ87dRjxadAEgFf1S8YXF0fw0lWeDwHYPR9hwfzQfwrUDSQZ1ar7ORoHsMK2jK0pnXDuf6JpP4Hw84V+PrBPyFTIpHt9sw1toFQmHlLR8u379HRAbREcJVgx3i83KEKrxRT4WABvmsROVdt6+UNlVAqs4xaclUq4cmjnDXnPKDeFMr7sallKFbRK1097x5aQYpJYY="
# http://stackoverflow.com/a/30925448/1047788
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
# http://docs.travis-ci.com/user/apt/
# https://github.com/mavam/vast/blob/master/.travis.prepare
# or just get gcc-multilib and g++-multilib and be done with it
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- gcc-4.8-multilib
- g++-4.8-multilib
- gcc-multilib
- g++-multilib
- clang
#- libc6-dev-i386 # missing header file 'bits/predefs.h'
#- linux-libc-dev-i386 # this does NOT fix asm/errno.h: No such file or directory
# - some other bunch of -i386 crap
# https://scan.coverity.com/travis_ci
coverity_scan:
project:
name: "jirkadanek/Strongtalk"
description: "Smalltalk… with a need for speed"
notification_email: [email protected]
build_command_prepend: "cmake .."
build_command: "make -j2"
branch_pattern: coverity_scan
compiler:
- clang
- gcc
os:
- linux
# https://blog.lukaspradel.com/continuous-integration-for-cmake-projects-using-travis-ci/
before_script:
- mkdir cmakebuild
- cd cmakebuild
- cmake ..
script:
- make -j2 && cd .. && cmakebuild/strongtalk-test
matrix:
allow_failures:
- compiler: clang