-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
51 lines (51 loc) · 1.28 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
---
# test config on https://config.travis-ci.com/explore
language: ruby
cache: bundler
before_install:
- gem install bundler -v 2.2.32
stages:
- test
- deploy
jobs:
include:
- name: "Test Ruby-3.0.3 Rails-6.1"
stage: test
rvm: 3.0.3
env: RAILS_VERSION="~> 6.1"
before_script: bundle install
script: bundle exec rake default
- name: "Test Ruby-2.5.7 Rails-6.0"
stage: test
rvm: 2.5.7
env: RAILS_VERSION="~> 6.0"
before_script: bundle install
script: bundle exec rake default
- name: "Test Ruby-2.5.7 Rails-5.2"
stage: test
rvm: 2.5.7
env: RAILS_VERSION="~> 5.2"
before_script: bundle install
script: bundle exec rake default
- name: "Test Ruby-2.3.8 Rails-5.2"
stage: test
rvm: 2.3.8
env: RAILS_VERSION="~> 5.2"
before_script: bundle install
script: bundle exec rake default
- name: "Deploy documentation"
stage: deploy
before_script: yarn install
script:
- bundle exec rake yard
- yarn docs:build
deploy:
provider: pages
edge: true
verbose: true
cleanup: false
local_dir: docs/.vuepress/dist
token: $GITHUB_TOKEN
keep_history: true
on:
branch: master