Skip to content

Commit 9b40701

Browse files
committed
ci updates
1 parent 9a9a20f commit 9b40701

File tree

3 files changed

+31
-18
lines changed

3 files changed

+31
-18
lines changed

.travis.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
language: node_js
22
node_js:
3-
- "0.12"
3+
- "4.0"
4+
45
before_script:
5-
# Install Testspace Runner
6-
- ./testspace_install.sh
7-
- export PATH="${HOME}/testspace:${PATH}"
86
- npm install -g gulp
7+
- npm install
98

109
script:
1110
- gulp build
12-
# Publish Test Results along with Coverage
13-
- testspace publish [Tests]test/reports/junitresults.xml{test} test/reports/coverage/clover.xml ${TESTSPACE_URL}
11+
12+
- export CI_REPORTS=$PWD/test/reports
13+
- curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
14+
- testspace publish @.testspace $TESTSPACE_TOKEN/${TRAVIS_BRANCH}#travis.Build.${TRAVIS_BUILD_NUMBER}
15+

circle.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
machine:
2+
node_js:
3+
version: 4.0
4+
5+
test:
6+
override:
7+
- npm install -g gulp
8+
- hpm install
9+
- gulp build
10+
11+
post:
12+
- curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
13+
- export CI_REPORTS=$CIRCLE_TEST_REPORTS
14+
- testspace publish @.testspace $TESTSPACE_TOKEN/${CIRCLE_BRANCH}#circle.Build.${CIRCLE_BUILD_NUM}

shippable.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
language: node_js
22

33
node_js:
4-
- "0.12"
4+
- "4.0"
55

66
env:
77
global:
8-
- secure: RxFIwZUbf+Kec/kF37Iu8YaekLQDCjDP2YTCbqLi4mNHsbc4WRohUGXXYgCS6wSV8vEW3ditOFhTx/rchMJdJRonL1fNI6hSVLbFU39RGB/vhJXTGE8oU9dV0bK1a3vPmSoyWIhbODhS751nAlgMgd0U6QNxhRE/3SLuiD3pTGbV5XY13iJGzNIijCrrIu0FfgfNwkf5ezJBW+lzd/Cr5PJyu+mwRv3L5WPmhDslr6KGh4gkxnu+o1pa0x/S+M7YIQ+uy+5Y5N4pSS3TboVfsufrkCGI8CPr5WZjnKbejeN88kIUxSxEu0+xOo1vNX29uwh98HGpGcbmwSQgbUtFow==
9-
10-
before_script:
11-
- ./testspace_install.sh
12-
- export PATH="${HOME}/testspace:${PATH}"
13-
- mkdir -p shippable/codecoverage
14-
- mkdir -p shippable/testresults
8+
- secure: cfRsskJX4S4Mu+b4jsfmmWKNYPDrumKQh8TKa1kIlNh3R2nU7GIEeDe/G/lvfN9dtyZJBuXxrn1pSV+rdjHlyc6iF+/6KyBnnLvf0tfQvxuArKsUia3ieAvQ0vt3Ibk8wuzlLkc0JYy62p89d14KTDz1RrHE0qY9QhGoHr40aOQtXpj2lzOhE+mzPqqGl89ix7kEKQ0o8vYMe/j1o7Q7lzQJN4e7Tv+7DCjs68TzcIftXvdtfTvK3WiND3TVNF+lgogRxFd15a89ZXVDGATXfoQcOkJLpie6DN9MyKOLAWdXX39bMn5+C3EGo6WNsrXOEI8co+GXnN6whyMdUhMBYA==
9+
1510
script:
16-
- testspace import .testspace.xml ${TESTSPACE_URL}
17-
- testspace run ${TESTSPACE_URL}
11+
- npm install -g gulp
12+
- hpm install
13+
- gulp build
1814

1915
after_script:
20-
- cp test/reports/junitresults.xml shippable/testresults
21-
- cp test/reports/coverage/clover.xml shippable/codecoverage
16+
- curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin
17+
- export CI_REPORTS=$CIRCLE_TEST_REPORTS
18+
- testspace publish @.testspace $TESTSPACE_TOKEN/${BRANCH}#ship.Build.${BUILD_NUMBER}

0 commit comments

Comments
 (0)