File: .travis.yml

package info (click to toggle)
gatb-core 1.4.1%2Bgit20181225.44d5a44%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 17,804 kB
  • sloc: cpp: 48,999; sh: 2,169; xml: 1,333; makefile: 35; python: 32
file content (31 lines) | stat: -rw-r--r-- 676 bytes parent folder | download | duplicates (2)
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
language: cpp
os:
- linux
compiler:
- clang
- gcc
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    - llvm-toolchain-precise-3.7
    - george-edison55-precise-backports  # for cmake 3
    packages:
    - libcppunit-dev
    - g++-4.8
    - clang-3.7
    - cmake
    - cmake-data
install:
- if [ "`echo $CXX`" == "g++" ]     && [ "$TRAVIS_OS_NAME" == "linux" ]; then export CXX=g++-4.8; fi
- if [ "`echo $CXX`" == "clang++" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then export CXX=clang++-3.7; fi
matrix:
script:
- cd gatb-core
- mkdir build
- cd build
- cmake .. && make 
- export CPPUNIT_VERBOSE=TRUE && ./bin/gatb-core-cppunit
env:
  global:
    - MAKEFLAGS="-j 4"