Skip to content
This repository was archived by the owner on Sep 15, 2020. It is now read-only.

Commit 829554e

Browse files
committed
Tweak CI config files.
1 parent 97e7871 commit 829554e

File tree

3 files changed

+40
-43
lines changed

3 files changed

+40
-43
lines changed

.appveyor.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
version: "{build}"
2+
3+
clone_depth: 5
4+
5+
environment:
6+
RUBY_FOLDER_VERSION: "24-x64"
7+
PLATFORM: "x64"
8+
9+
install:
10+
- SET "PATH=C:\Ruby%RUBY_FOLDER_VERSION%\bin;%PATH%"
11+
- bundle install --deployment --retry=3 --clean --jobs=%NUMBER_OF_PROCESSORS%
12+
- ps: Install-Product node "10" $env:PLATFORM
13+
- npm ci
14+
15+
build: off
16+
17+
test_script:
18+
- ruby -v
19+
- gem -v
20+
- bundle -v
21+
- node -v
22+
- npm -v
23+
- java -version
24+
- npm test
25+
26+
matrix:
27+
fast_finish: true
28+
29+
cache:
30+
- '%APPDATA%\npm-cache\ -> .appveyor.yml,package.json,package-lock.json'
31+
- 'vendor\bundle -> .appveyor.yml,Gemfile,Gemfile.lock'

.travis.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
1-
sudo: required
2-
3-
dist: trusty
1+
git:
2+
depth: 5
43

54
language: node_js
65

76
node_js:
87
- "10"
98

109
env:
11-
matrix:
10+
global:
1211
- RUBY_VERSION=2.4
1312

1413
before_install:
1514
- rvm use $RUBY_VERSION --install --binary --fuzzy
1615

1716
install:
18-
- npm install
19-
- bundle install --retry 3 --clean --path vendor/bundle
17+
- npm ci
18+
- bundle install --deployment --retry=3 --clean
2019

2120
matrix:
2221
fast_finish: true
2322

2423
cache:
2524
directories:
26-
- node_modules
25+
- "$HOME/.npm"
2726
- vendor/bundle
27+
28+
notifications:
29+
email: false

appveyor.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)