forked from crlf0710/tectonic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
61 lines (54 loc) · 1.51 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
# .travis.yml -- Travis CI specification file.
# Copyright 2016-2019 the Tectonic Project
# Licensed under the MIT License.
language: rust
cache: false
matrix:
include:
- os: linux
sudo: required
dist: xenial
rust: nightly
env: RUSTFLAGS="-C link-dead-code"
- os: osx
osx_image: xcode10.2
rust: nightly
- os: windows
rust: nightly
env:
- VS15=true
- VCPKG_ROOT=${HOME}\\vcpkg
- VCPKGRS_DYNAMIC=1
- VCPKG_DEFAULT_TRIPLET=x64-windows
- TECTONIC_DEP_BACKEND=vcpkg
- RUST_TEST_THREADS=1
- FC_CACHEDIR=${VCPKG_ROOT}\\installed\\${VCPKG_DEFAULT_TRIPLET}\\tools\\fontconfig\\fonts\\cache
- FONTCONFIG_FILE=${VCPKG_ROOT}\\installed\\${VCPKG_DEFAULT_TRIPLET}\\tools\\fontconfig\\fonts\\fonts.conf
- FONTCONFIG_PATH=${VCPKG_ROOT}\\installed\\${VCPKG_DEFAULT_TRIPLET}\\tools\\fontconfig\\fonts\\conf.d
script:
- dist/prepare-win-ci-deps.bat
- sh dist/travis.sh
cache:
directories:
- ${VCPKG_ROOT}/installed
# Don't CI branches besides master. Pull requests still get CI'd -- but
# when a PR comes in on a branch in the same repo, this prevents it from
# being CI'd twice.
branches:
only:
- oxidize
addons:
apt:
packages:
- libgraphite2-dev
- libharfbuzz-dev
- libfontconfig1-dev
- libicu-dev
- libssl-dev
- openssl
homebrew:
packages:
- harfbuzz
- openssl
install: true
script: source dist/travis.sh