-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 1.25 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
#
# $Id$
#
#matrix:
# include:
# - os: linux # add another OS to the default OS
# dist: trusty # need ubuntu with autoconf >= 2.69
# sudo: required # needed for apt-get
dist: trusty # need ubuntu with autoconf >= 2.69
sudo: required # needed for apt-get
notifications:
email:
on_success: never
on_failure: change
language: c
compiler: gcc
before_install:
- rm -f :* # clear any left overs
- touch :`lsb_release -cs` # store Debian/Ubuntu code name
- if [ -f :trusty ]; then touch :os-ok; fi # accept Ubuntu release
- if [ jenkins = "$TRAVIS_BRANCH" ]; then touch :git-ok; fi # accept git branch "jenkins"
- test \! -f :os-ok -o \! -f :git-ok || touch :travis-ok # enable runner (if any)
- ls -l :* # show flags in log file
- test \! -f :travis-ok || sudo apt-get -qq update
- test \! -f :travis-ok || sudo apt-get install -y autoconf=2.69* automake libtool
install:
- test \! -f :travis-ok || ./Build nim
script:
- test \! -f :travis-ok || ( ./Build debug && make check && make )
- test \! -f :travis-ok || ( ./Build native && make check && make )
# End