forked from taskflow/taskflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (30 loc) · 686 Bytes
/
.travis.yml
File metadata and controls
36 lines (30 loc) · 686 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
sudo: required
# Enable C++ support
language: cpp
# Compiler selection
compiler:
- g++
matrix:
include:
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
before_install:
# Install gcc 7 && cmake 3.10
- eval "${MATRIX_EVAL}"
- wget -O cmake.sh https://cmake.org/files/v3.10/cmake-3.10.0-rc1-Linux-x86_64.sh
- sudo sh cmake.sh --skip-license --exclude-subdir --prefix=/usr/local
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
# Build steps
script:
- mkdir build
- cd build
- cmake ../
- make
- ctest