-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
50 lines (39 loc) · 1007 Bytes
/
.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
language: rust
sudo: required # To install g++-4.9
dist: trusty
rust: stable
# libsoundio requires GCC 4.9 for C11 support and for stdatomic.h.
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
matrix:
include:
- os: linux
env:
- TARGET=i686-unknown-linux-musl
- CC=gcc-4.9
- os: linux
env:
- TARGET=x86_64-unknown-linux-musl
- CC=gcc-4.9
- os: osx
env: TARGET=i686-apple-darwin
- os: osx
env: TARGET=x86_64-apple-darwin
# Exclude default build. Yes this is a really weird way to do it.
# See https://github.com/travis-ci/travis-ci/issues/4681
exclude:
- rust: stable
cache: cargo
before_cache:
# Travis can't cache files that are not readable by "others"
- chmod -R a+r $HOME/.cargo
branches:
only:
- master
# Disable tests for now.
script:
- cargo build --verbose