.travis.yml 1.66 KB
Newer Older
1 2
sudo: false

3 4 5
language: cpp
compiler: gcc

6
cache:
Mathieu Giraud's avatar
Mathieu Giraud committed
7
  apt: true
8 9
  pip: true

10 11 12 13 14 15 16 17
addons:
 apt:
   sources:
   - ubuntu-toolchain-r-test
   packages:
   - gcc-4.8
   - g++-4.8
   env: COMPILER=g++-4.8
18

19
before_install:
20 21
  - export PATH="$HOME/.local/bin:$PATH"
  - pip install --user cpp-coveralls
22

23
before_script: make data ; make germline
24

25
script:
26
  - export CXX="g++-4.8"
27
  - g++ --version
28
  - $CXX --version
29 30
  ###
  - echo '"Build..."' && echo -en 'travis_fold:start:script.build\\r'
31
  - make
32 33 34
  - echo -en 'travis_fold:end:script.build\\r'
  ###
  - echo '"Tests, Algo (unit)..."'  && echo -en 'travis_fold:start:script.test-algo-unit\\r'
35
  - make unit
36 37
  - echo -en 'travis_fold:end:script.test-algo-unit\\r'
  ###
38
  - echo '"Tests, Algo (functional, .should_get)..."'  && echo -en 'travis_fold:start:script.test-algo-functional\\r'
39
  - make COVERAGE=1 should
40
  - echo -en 'travis_fold:end:script.test-algo-functional\\r'
41
  - make clean
42
  ###
43 44 45
  - echo '"Tests, Algo (functional, .should-vdj.fa)..."'  && echo -en 'travis_fold:start:script.test-algo-functional-vdj\\r'
  - make shouldvdj
  - echo -en 'travis_fold:end:script.test-algo-functional-vdj\\r'
46
  ###
47 48 49 50 51
  - echo '"Tests, Tools..."'  && echo -en 'travis_fold:start:script.test-tools\\r'
  - make test_tools
  - echo -en 'travis_fold:end:script.test-tools\\r'
  ###
  - echo '"Tests, Browser (unit)..."'  && echo -en 'travis_fold:start:script.test-browser-unit\\r'
52
  - make unit_browser
53
  - echo -en 'travis_fold:end:script.test-browser-unit\\r'
54 55

after_success:
56
  - make should_coveralls COVERALLS_OPTIONS="--gcov /usr/bin/gcov-4.8"
57 58

notifications:
59 60
  email:
    - notifications@vidjil.org
61 62
  webhooks:
    - https://buildtimetrend.herokuapp.com/travis