Skip to content

Commit 571a500

Browse files
authored
Merge pull request #310 from nkbt/yarn
Yarn
2 parents 3eb2686 + f6026cd commit 571a500

File tree

3 files changed

+5387
-14
lines changed

3 files changed

+5387
-14
lines changed

appveyor.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
1-
branches:
2-
only:
3-
- master
4-
5-
environment:
6-
nodejs_version: '5.2.0'
7-
81
install:
9-
- ps: Install-Product node $env:nodejs_version
10-
- set CI=true
11-
- set PATH=%APPDATA%\npm;%PATH%
12-
- npm install
2+
- choco install yarn
3+
- refreshenv
4+
- yarn install
5+
6+
cache:
7+
- "%LOCALAPPDATA%/Yarn"
8+
- node_modules -> package.json
139

1410
build: off
15-
version: '{build}'
1611
shallow_clone: true
1712
clone_depth: 1
13+
skip_branch_with_pr: true
1814

1915
test_script:
2016
- node --version
21-
- npm --version
22-
- npm test
17+
- yarn test

circle.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@ machine:
22
node:
33
version: v6.1.0
44

5+
dependencies:
6+
pre:
7+
# Install Yarn
8+
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
9+
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
10+
- sudo apt-get update -qq
11+
- sudo apt-get install -y -qq yarn
12+
cache_directories:
13+
- "~/.yarn-cache"
14+
override:
15+
- yarn install
16+
- node ./node_modules/selenium-standalone/bin/selenium-standalone install
17+
518
test:
619
override:
720
- npm start ci.lint

0 commit comments

Comments
 (0)