-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
40 lines (37 loc) · 707 Bytes
/
.travis.yml
File metadata and controls
40 lines (37 loc) · 707 Bytes
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
32
33
34
35
36
37
38
39
40
language: cpp
sudo: required
dist: trusty
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
compiler:
- gcc
os: linux
before_install:
- eval "${MATRIX_EVAL}"
- sudo apt-get -qq update
- sudo apt-get install -y cmake
- sudo apt-get install -y libgtest-dev
- cd /usr/src/gtest
- sudo cmake ./
- sudo make
- sudo cp *.a /usr/lib
- cd "${TRAVIS_BUILD_DIR}"
before_script:
- ./build.sh
script: "./build/ConceptualMonadsTest"
branches:
only:
- master
notifications:
email:
on_success: never
on_failure: change