forked from Paxa/fast_excel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
53 lines (50 loc) · 1.05 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
---
language: ruby
matrix:
include:
# - os: linux
# rvm: 2.2.10
# - os: osx
# rvm: 2.2.10
- os: linux
rvm: 2.3.8
- os: linux
rvm: 2.4.6
- os: osx
rvm: 2.4.6
- os: linux
rvm: 2.5.5
- os: osx
rvm: 2.5.5
- os: linux
rvm: 2.6.3
env: BUILD_DOCKER=true
services:
- docker
- os: osx
rvm: 2.6.3
osx_image: xcode10.2
before_script:
- ls -lah /Applications
- sudo xcode-select -s /Applications/Xcode-10.2.1.app/Contents/Developer
- clang --version
- os: linux
rvm: 2.7.2
- os: linux
rvm: 3.0.0
- os: linux
rvm: ruby-head
fast_finish: true
allow_failures:
- rvm: ruby-head
before_install:
- gem install bundler -v 2.2.2
script:
- bundle install
- make
- bundle exec rake test
- bundle exec rake examples
- gem build fast_excel.gemspec
- export GIT_REPO=${TRAVIS_PULL_REQUEST_SLUG:-$TRAVIS_REPO_SLUG}
- env
- if [ -n "$BUILD_DOCKER" ]; then docker build . -f Dockerfile.test --build-arg GIT_REPO --build-arg TRAVIS_COMMIT --build-arg TRAVIS_BRANCH ; fi