.travis.yml 1.58 KB
Newer Older
1 2 3
language: cpp
compiler: gcc

4 5
before_install:
  - sudo pip install cpp-coveralls
6 7 8 9 10 11 12
  # g++-4.8
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq

install:
  - sudo apt-get install -qq gcc-4.8 g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
13

14
before_script: make data ; make germline
15

16
script:
17
  - g++ --version
18 19
  ###
  - echo '"Build..."' && echo -en 'travis_fold:start:script.build\\r'
20
  - make
21 22 23
  - echo -en 'travis_fold:end:script.build\\r'
  ###
  - echo '"Tests, Algo (unit)..."'  && echo -en 'travis_fold:start:script.test-algo-unit\\r'
24
  - make unit
25 26
  - echo -en 'travis_fold:end:script.test-algo-unit\\r'
  ###
27
  - echo '"Tests, Algo (functional, .should_get)..."'  && echo -en 'travis_fold:start:script.test-algo-functional\\r'
28
  - make COVERAGE=1 should
29 30
  - echo -en 'travis_fold:end:script.test-algo-functional\\r'
  ###
31
  - echo '"Tests, Algo (functional, .should-vdj.fa)..."'  && echo -en 'travis_fold:start:script.test-algo-functional-vdj\\r'
32
  - make shouldvdj
33 34
  - echo -en 'travis_fold:end:script.test-algo-functional-vdj\\r'
  ###
35 36 37 38 39
  - 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'
40
  - make unit_browser
41
  - echo -en 'travis_fold:end:script.test-browser-unit\\r'
42 43

after_success:
44
  - make should_coveralls
45 46

notifications:
47 48
  email:
    - notifications@vidjil.org
49 50
  webhooks:
    - https://buildtimetrend.herokuapp.com/travis