forked from amethyst/rendy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
51 lines (41 loc) · 1.16 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
language: rust
compiler: clang
cache: cargo
env:
global: RUSTFLAGS="-D warnings" RUST_LOG=info
rust: stable
matrix:
include:
# # Linux 64bit
# - os: linux
# # macOS 64bit
# - env: MACOSX_DEPLOYMENT_TARGET=10.9
# os: osx
# osx_image: xcode10.2
# # We need travis_wait here to ensure the build doesn't timeout due to
# # shader compilation
# script: travis_wait 30 make
# iPhoneOS 64bit
- env: TARGET=aarch64-apple-ios
os: osx
osx_image: xcode10.2
# We need travis_wait here to ensure the build doesn't timeout due to
# shader compilation
script: travis_wait 45 make
# # Windows 64bit
# - os: windows
# env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
branches:
only:
# Only build on master as sanity check
- master
# - staging
# - trying
before_install:
- if [[ $TRAVIS_OS_NAME == "windows" ]]; then choco install make; choco install ninja; choco install python; fi
- rustup self update
- if [[ ! -z "$TARGET" ]]; then rustup target add $TARGET; fi
# Set the default install command to nothing as we build during the script stage
install:
script:
- make