Skip to content

Commit 0c4c546

Browse files
authored
Merge pull request #21 from ipfs/automatic-ci-script-update
Updating CI files
2 parents ecdff08 + 7b0ac53 commit 0c4c546

File tree

4 files changed

+29
-22
lines changed

4 files changed

+29
-22
lines changed

.travis.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
1+
# Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories.
12
sudo: false
23
language: node_js
34

45
matrix:
56
include:
67
- node_js: 6
7-
env:
8-
- CXX=g++-4.8
9-
- node_js: stable
108
env: CXX=g++-4.8
9+
- node_js: 8
10+
env: CXX=g++-4.8
11+
# - node_js: stable
12+
# env: CXX=g++-4.8
1113

1214
script:
1315
- npm run lint
1416
- npm run test
17+
- npm run coverage
1518

1619
before_script:
1720
- export DISPLAY=:99.0
1821
- sh -e /etc/init.d/xvfb start
1922

23+
after_success:
24+
- npm run coverage-publish
25+
2026
addons:
2127
firefox: 'latest'
2228
apt:

appveyor.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
1+
# Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories.
2+
version: "{build}"
3+
14
environment:
25
matrix:
36
- nodejs_version: "6"
47
- nodejs_version: "8"
58

6-
# cache:
7-
# - node_modules
8-
9-
platform:
10-
- x64
9+
matrix:
10+
fast_finish: true
1111

1212
install:
13-
- ps: Install-Product node $env:nodejs_version $env:platform
14-
- npm install
13+
# Install Node.js
14+
- ps: Install-Product node $env:nodejs_version
1515

16-
test_script:
16+
# Upgrade npm
17+
- npm install -g npm
18+
19+
# Output our current versions for debugging
1720
- node --version
1821
- npm --version
19-
- npm test
2022

21-
build: off
23+
# Install our package dependencies
24+
- npm install
2225

23-
version: "{build}"
26+
test_script:
27+
- npm run test:node
28+
29+
build: off

ci/Jenkinsfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories.
2+
javascript()

circle.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
1+
# Warning: This file is automatically synced from https://github.com/ipfs/ci-sync so if you want to change it, please change it there and ask someone to sync all repositories.
12
machine:
23
node:
34
version: stable
45

5-
post:
6-
test:
7-
- npm run coverage -- --upload
8-
96
dependencies:
107
pre:
118
- google-chrome --version
129
- curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
13-
- for v in $(curl http://archive.ubuntu.com/ubuntu/pool/main/n/nss/ | grep "href=" | grep "libnss3.*deb\"" -o | grep -o "libnss3.*deb" | grep "3.28" | grep "14.04"); do curl -L -o $v http://archive.ubuntu.com/ubuntu/pool/main/n/nss/$v; done && rm libnss3-tools*_i386.deb libnss3-dev*_i386.deb
1410
- sudo dpkg -i google-chrome.deb || true
15-
- sudo dpkg -i libnss3*.deb || true
1611
- sudo apt-get update
17-
- sudo apt-get install -f || true
18-
- sudo dpkg -i libnss3*.deb
1912
- sudo apt-get install -f
2013
- sudo apt-get install --only-upgrade lsb-base
2114
- sudo dpkg -i google-chrome.deb

0 commit comments

Comments
 (0)