Skip to content

Commit

Permalink
adding travis
Browse files Browse the repository at this point in the history
  • Loading branch information
scarrazza committed Jun 26, 2018
1 parent ee750d8 commit e6968b7
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# travis CI script
os: linux
language: cpp
sudo: required

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
- g++-5
- gcc-5

install:
- sudo unlink /usr/bin/gcc && sudo ln -s /usr/bin/gcc-5 /usr/bin/gcc
- sudo unlink /usr/bin/g++ && sudo ln -s /usr/bin/g++-5 /usr/bin/g++

script:
- mkdir build
- cd build
- cmake -DENABLE_EXAMPLES=ON ..
- make
- ./trigger_test
- ./cmass_test
- ./cache_test

0 comments on commit e6968b7

Please sign in to comment.