Skip to content

Commit e80872a

Browse files
try circle2
1 parent e7256d2 commit e80872a

File tree

3 files changed

+32
-44
lines changed

3 files changed

+32
-44
lines changed

.circleci/config.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/js-ipfs-bitswap
5+
docker:
6+
- image: circleci/node:6-browsers
7+
environment:
8+
CHROME_BIN: "/usr/bin/google-chrome"
9+
steps:
10+
- checkout
11+
- restore_cache:
12+
key: dependency-cache-{{ checksum "package.json" }}
13+
- run:
14+
name: install-deps
15+
command: npm install
16+
- save_cache:
17+
key: dependency-cache-{{ checksum "package.json" }}
18+
paths:
19+
- ./node_modules
20+
- run:
21+
name: lint
22+
command: npm run lint
23+
- run:
24+
name: test:node
25+
command: npm run test:node
26+
- run:
27+
name: test:browser
28+
command: npm run test:browser
29+
- run:
30+
name: coverage
31+
command: npm run coverage

.travis.yml

+1-30
Original file line numberDiff line numberDiff line change
@@ -1,30 +1 @@
1-
sudo: false
2-
language: node_js
3-
4-
matrix:
5-
include:
6-
- node_js: 6
7-
env: CXX=g++-4.8
8-
- node_js: 8
9-
env: CXX=g++-4.8
10-
11-
jobs:
12-
include:
13-
- stage: lint and test
14-
script: npm run lint
15-
script: npm run test:node
16-
script: npm run test:browser
17-
- stage: coverage
18-
script: npm run coverage
19-
20-
before_script:
21-
- export DISPLAY=:99.0
22-
- sh -e /etc/init.d/xvfb start
23-
24-
addons:
25-
firefox: 'latest'
26-
apt:
27-
sources:
28-
- ubuntu-toolchain-r-test
29-
packages:
30-
- g++-4.8
1+
NO, JUST NO

circle.yml

-14
This file was deleted.

0 commit comments

Comments
 (0)