File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ image :
2+ - Ubuntu
3+
4+ environment :
5+ matrix :
6+ - nodejs_version : ' 8'
7+ - nodejs_version : ' 10'
8+
9+ # Fail on first error
10+ matrix :
11+ fast_finish : true
12+
13+ # Specify cache for yarn in cross platform way
14+ for :
15+ - matrix :
16+ except :
17+ - image : Ubuntu
18+ cache :
19+ - " %LOCALAPPDATA%\\ Yarn"
20+ - matrix :
21+ only :
22+ - image : Ubuntu
23+ cache :
24+ - ' $HOME/.cache/yarn'
25+
26+ shallow_clone : true
27+
28+ install :
29+ # Install specified version of Node.JS (cross platform capable way)
30+ - cmd : powershell Install-Product node $env:nodejs_version
31+ - sh : nvm install $nodejs_version
32+
33+ # Set execution flag on script that runs inside docker
34+ - sh : chmod +x ./scripts/build-prod.sh
35+
36+ # install dependencies
37+ - yarn install --ignore-optional
38+ - yarn build
39+
40+ # Post-install test scripts.
41+ test_script :
42+ # Output useful info for debugging.
43+ - yarn --version
44+ - node --version
45+ - npm --version
46+ # Run all tests
47+ - yarn test
48+
49+ # Don't actually build.
50+ build : off
You can’t perform that action at this time.
0 commit comments