File tree Expand file tree Collapse file tree 3 files changed +5387
-14
lines changed Expand file tree Collapse file tree 3 files changed +5387
-14
lines changed Original file line number Diff line number Diff line change 1
- branches :
2
- only :
3
- - master
4
-
5
- environment :
6
- nodejs_version : ' 5.2.0'
7
-
8
1
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
13
9
14
10
build : off
15
- version : ' {build}'
16
11
shallow_clone : true
17
12
clone_depth : 1
13
+ skip_branch_with_pr : true
18
14
19
15
test_script :
20
16
- node --version
21
- - npm --version
22
- - npm test
17
+ - yarn test
Original file line number Diff line number Diff line change @@ -2,6 +2,19 @@ machine:
2
2
node :
3
3
version : v6.1.0
4
4
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
+
5
18
test :
6
19
override :
7
20
- npm start ci.lint
You can’t perform that action at this time.
0 commit comments