forked from nil0x42/duplicut
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (43 loc) · 1.17 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
language: c
# default, test both 32 & 64bit
env: ARCH="x64 x86"
# NOTES:
# - osx only supports 32bit build until xcode9.4, so we only test x64
# on most recent osx build.
# - on travis-ci osx VMs, gcc is an alia of `clang`. so we don't test
# `gcc` on osx.
# - for both osx/linux, we try to test newest available distro version,
# and a very old one. reference:
# * https://docs.travis-ci.com/user/reference/linux/
# * https://docs.travis-ci.com/user/reference/osx/
jobs:
include:
- os: linux
dist: focal
compiler: gcc
- os: linux
dist: focal
compiler: clang
- os: linux
dist: trusty
compiler: gcc
- os: linux
dist: trusty
compiler: clang
- os: osx
osx_image: xcode12u
compiler: clang
env: ARCH=x64
- os: osx
osx_image: xcode8.3
compiler: clang
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi
# support CC=gcc ARCH=x86:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y gcc-multilib; fi
script:
- ./test/run.sh
# only trigger build for pushes on `master`
branches:
only:
- master