Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
b27fbd7cba5ae20954fd341b4020b59d8de027fc
[simgrid.git] / .travis.yml
1 language: cpp
2 compiler:
3    - gcc
4    - clang
5 addons:
6   apt: # Get recent versions of the compiler, even on Ubuntu Precise
7       sources:
8       - ubuntu-toolchain-r-test
9       packages:
10       - gcc-4.7
11       - g++-4.7
12       - clang
13 # Still need sudo to get the recent version of gcc actually used
14 before_install:
15    - sudo apt-get update  -qq
16    - sudo apt-get install -y cmake valgrind default-jdk gfortran liblua5.1-dev lua5.1 libboost-dev libboost-all-dev libns3-dev ns3
17    - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 50
18    - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.7 50
19 script:
20    - cmake -Denable_documentation=OFF -Denable_coverage=OFF -Denable_ns3=ON -Denable_java=ON -Denable_model-checking=OFF -Denable_lua=ON -Denable_compile_optimizations=ON -Denable_smpi=ON -Denable_smpi_MPICH3_testsuite=ON -Denable_compile_warnings=ON . && make && ctest --output-on-failure --timeout 100
21 branches:
22   only:
23      - master
24 notifications:
25   recipients:
26     - martin.quinson@loria.fr
27   email:
28     on_success: change
29     on_failure: always
30   irc:
31     channels:
32       - "irc.debian.org#simgrid"
33   template:
34     - "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
35 os:
36   - linux
37   - osx
38   - windows