forked from OnsenUI/OnsenUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
26 lines (25 loc) · 946 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
machine:
node:
version: 6.2.0
dependencies:
pre:
- npm install -g npm
- npm install
- npm install -g coveralls gulp
- cd css-components; npm install; gulp build
- cd bindings/angular2; npm install
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get update
- sudo apt-get --only-upgrade install google-chrome-stable
deployment:
tasks:
branch: master
commands:
- ./scripts/nightly.sh $CIRCLE_BUILD_NUM $CIRCLE_SHA1 $CIRCLE_ARTIFACTS
test:
post:
- cd bindings/angular2; npm test
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex "./core/test/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
- cat ./core/test/coverage/*/lcov.info | coveralls || true # Ignore if this fails.