-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (56 loc) · 1.52 KB
/
.travis.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
language: cpp
sudo: true
dist: bionic
script:
- make
matrix:
include:
# - os: linux
# language: cpp
# addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# - sourceline: 'ppa:ubuntu-toolchain-r/test'
# packages:
# - gcc-9
# - g++-9
# - xcb
# - xcb-proto
# - libx11-dev
# - libx11-xcb-dev
# - libxcb1-dev
# - libxcb-util-dev
# - libxcb-icccm4-dev
# - libxcb-randr0-dev
# - libxcb-keysyms1-dev
# env:
# - MATRIX_EVAL="CC=gcc-9 CXX=g++-9"
- os: linux
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'deb https://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main'
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- clang-9
- xcb
- xcb-proto
- libx11-dev
- libx11-xcb-dev
- libxcb1-dev
- libxcb-util-dev
- libxcb-icccm4-dev
- libxcb-randr0-dev
- libxcb-keysyms1-dev
- libxcb-ewmh-dev
- libx11-dev
env:
- MATRIX_EVAL="CC=clang-9 CXX=clang++-9"
before_install:
- eval "${MATRIX_EVAL}"
# install:
# - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9
# - sudo update-alternatives --config gcc