Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
CMake cleanups: move the C/C++ std detection to the right place; add doc
[simgrid.git] / .travis.yml
1 language: cpp
2 compiler:
3    - gcc
4 #   - clang # does not work for us on debian stable (boost is too old there)
5 before_install: 
6    - sudo apt-get update  -qq
7    - sudo apt-get install -y g++-4.7 gcc-4.7 cmake valgrind default-jdk gfortran liblua5.1-dev lua5.1 libboost-dev libboost-all-dev libns3-dev ns3
8    - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 50
9    - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.7 50
10 script:
11    - 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
12 branches:
13   only:
14      - master
15 notifications:
16   recipients:
17     - martin.quinson@loria.fr
18   email:
19     on_success: change
20     on_failure: always
21   irc:
22     channels:
23       - "irc.debian.org#simgrid"
24   template:
25     - "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
26 os:
27   - linux
28   - osx
29   - windows