-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (29 loc) · 861 Bytes
/
.travis.yml
File metadata and controls
29 lines (29 loc) · 861 Bytes
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
---
language: ruby
rvm:
- 2.6.0
os:
- linux
- osx
dist: xenial
env:
global:
- PATH=/home/linuxbrew/.linuxbrew/bin:${PATH}
cache:
directories:
- ${TRAVIS_BUILD_DIR}/target
- ${TRAVIS_BUILD_DIR}/vendor
before_install:
- if which brew; then brew update; else ruby -e "`curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install`" </dev/null; fi
- gem install bundler -v 1.17.2
install:
- brew install --only-dependencies --build-from-source tectonic
- brew install tectonic
- export DEP_OPENSSL_INCLUDE="$(brew --prefix openssl)/include"
- export PKG_CONFIG_PATH="$(brew --prefix icu4c)/lib/pkgconfig"
- export LD_LIBRARY_PATH="$(brew --prefix)/lib:${LD_LIBRARY_PATH}"
- bundle install --path=${TRAVIS_BUILD_DIR}/vendor/bundle
script:
- ruby --version
- bundle exec rake build
- bundle exec rake spec