-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy path.travis.yml
More file actions
58 lines (53 loc) · 1.67 KB
/
.travis.yml
File metadata and controls
58 lines (53 loc) · 1.67 KB
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
language: c
# Default linux jobs
os: linux
sudo: required
dist: trusty
# Include osx jobs
matrix:
include:
- os: osx
compiler: clang # use default apple clang
env:
- LABEL="osx-clang"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- LABEL="x86_64-gcc"
- os: linux
addons:
apt:
sources:
- llvm-toolchain-trusty-5.0
packages:
- clang-5.0
env:
- LABEL="x86_64-clang"
- os: linux
services: docker
env:
- LABEL="aarch64-gcc"
- ENABLE_DOCKER="true"
- os: linux
services: docker
env:
- LABEL="armhf-gcc"
- ENABLE_DOCKER="true"
before_install:
- export PATH=$PATH:/usr/bin
- cd ${TRAVIS_BUILD_DIR}
- chmod +x ${TRAVIS_BUILD_DIR}/travis/*.sh
- if [[ "${ENABLE_DOCKER}" == "true" ]]; then ${TRAVIS_BUILD_DIR}/travis/setupdocker.sh; fi
- if [[ "${ENABLE_DOCKER}" == "true" ]]; then docker exec xenial /build/travis/before_install.${LABEL}.sh; fi
- if [[ "${ENABLE_DOCKER}" != "true" ]]; then ${TRAVIS_BUILD_DIR}/travis/before_install.${LABEL}.sh; fi
before_script:
- if [[ "${ENABLE_DOCKER}" == "true" ]]; then docker exec xenial /build/travis/before_script.${LABEL}.sh; fi
- if [[ "${ENABLE_DOCKER}" != "true" ]]; then ${TRAVIS_BUILD_DIR}/travis/before_script.${LABEL}.sh; fi
script:
- if [[ "${ENABLE_DOCKER}" == "true" ]]; then docker exec xenial /build/travis/script.${LABEL}.sh; fi
- if [[ "${ENABLE_DOCKER}" != "true" ]]; then ${TRAVIS_BUILD_DIR}/travis/script.${LABEL}.sh; fi