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

Commit 9578fba

Browse files
committed
Tweak CI config files.
1 parent 97e7871 commit 9578fba

File tree

3 files changed

+39
-40
lines changed

3 files changed

+39
-40
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 --retry 3 --jobs=%NUMBER_OF_PROCESSORS% --clean --path vendor\bundle
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: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
sudo: required
22

3-
dist: trusty
3+
git:
4+
depth: 5
45

56
language: node_js
67

78
node_js:
89
- "10"
910

1011
env:
11-
matrix:
12+
global:
1213
- RUBY_VERSION=2.4
1314

1415
before_install:
1516
- rvm use $RUBY_VERSION --install --binary --fuzzy
1617

1718
install:
18-
- npm install
19+
- npm ci
1920
- bundle install --retry 3 --clean --path vendor/bundle
2021

2122
matrix:
2223
fast_finish: true
2324

2425
cache:
2526
directories:
26-
- node_modules
27+
- "$HOME/.npm"
2728
- vendor/bundle
29+
30+
notifications:
31+
email: false

appveyor.yml

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

0 commit comments

Comments
 (0)