forked from iZhangHui/cppstdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (33 loc) · 757 Bytes
/
.travis.yml
File metadata and controls
37 lines (33 loc) · 757 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
# Ubuntu 18.04 (Bionic Beaver) support
sudo: required
dist: bionic
language: cpp
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env: COMPILER=g++-7
- compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-bionic-8
packages:
- clang++-8
env: COMPILER=clang++-8
before_install:
# - sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
- sudo apt-get update -qq
install:
# - sudo apt-get install -y cmake
script:
- mkdir build
- cd build
- cmake --version
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. && make -j4