-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
52 lines (46 loc) · 1.08 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
---
sudo: false
language: ruby
cache:
bundler: true
yarn: true
matrix:
allow_failures:
- env: RAILS_VERSION=pre
include:
- rvm: 2.3
env: RAILS_VERSION=4.2 PACKAGE_MANAGER=npm
- rvm: 2.3
env: RAILS_VERSION=5.2 PACKAGE_MANAGER=yarn
- rvm: 2.4
env: RAILS_VERSION=5.2 PACKAGE_MANAGER=npm
- rvm: 2.5
env: RAILS_VERSION=5.2 PACKAGE_MANAGER=yarn
- rvm: 2.6
env: RAILS_VERSION=5.2 PACKAGE_MANAGER=npm
- rvm: 2.5
env: RAILS_VERSION=pre PACKAGE_MANAGER=npm
- rvm: 2.6
env: RAILS_VERSION=pre PACKAGE_MANAGER=yarn
gemfile:
- test/Gemfile-rails.$RAILS_VERSION
before_install:
- gem update --system
install:
- nvm install --lts
- node -v
- gem install rspec
script:
- sh -c 'cd test && ./install.rb'
- sh -c 'cd test && rspec ./vcr_specs.rb'
jobs:
include:
- stage: gem release
rvm: 2.3
env: RAILS_VERSION=4.2 PACKAGE_MANAGER=yarn
script: echo "Deploying to rubygems.org ..."
deploy:
provider: rubygems
gem: vue_cli-rails
api_key: $RUBYGEMS_API_KEY
on: release