forked from MesserLab/SLiM
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
38 lines (31 loc) · 887 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
# Use new trusty images, should yield newer compilers and packages
dist: trusty
sudo: false
language: cpp
# skip the install step, we have no dependencies
install: true
# build using make, then run Eidos and SLiM tests
script:
- make all
- ./bin/eidos -testEidos
- ./bin/slim -testEidos
- ./bin/slim -testSLiM
# use gcc; this probably doesn't matter since we call make anyway
# it would be nice to try different gcc versions, but that is presently quite complex
# see https://stackoverflow.com/questions/29312015/building-with-more-than-one-version-of-a-compiler
# see https://genbattle.bitbucket.io/blog/2016/01/17/c++-travis-ci/
compiler:
- gcc
# linux and os x builds
os:
- linux
- osx
# test only the master branch for now
branches:
only:
- master
# notify me by email after all builds
notifications:
email:
on_success: always
on_failure: always