-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
29 lines (28 loc) · 944 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
# .travis.yml
# This file should be at the root of your project
# To reload OSS Credits, go here: https://docs.travis-ci.com/user/billing-faq/#what-if-i-am-building-open-source
# dist: xenial
language: ruby
cache: bundler # caching bundler gem packages will speed up build
before_script:
- gem install bundler
- bundle update
- chmod +x ./script/cibuild # or do this locally and commit
# the `install` step will run `bundle install` by default.
install: bundle install
script:
- ./script/cibuild
# - ./setup
# - bundle exec rake test
# - bundle exec jekyll algolia
# Ruby versions. first one for github-pages, second for next major release
rvm:
- 2.7.4
- 3.0
# branch whitelist, only for GitHub Pages
branches:
only:
- master
# Change this to gh-pages if you're deploying using the gh-pages branch
# - /pages-(.*)/ # test every branch which starts with "pages-"
- gh-pages # test the gh-pages branch