forked from Crabar/ember-social-share
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (39 loc) · 1.02 KB
/
.travis.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
language: node_js
node_js:
- "node"
sudo: false
dist: trusty
cache:
directories:
- node_modules
- $HOME/.npm
env:
global:
- CC_TEST_REPORTER_ID=8684f81a2bc97cff46fadfb803de4939f83d2a8b602662c5e49e282b3280dc57
matrix:
- EMBER_TRY_SCENARIO=default
- EMBER_TRY_SCENARIO=ember-release
- EMBER_TRY_SCENARIO=ember-beta
- EMBER_TRY_SCENARIO=ember-canary
matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary
before_install:
- export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
- npm config set spin false
- npm install -g npm@^4
- npm install bower
- bower --version
install:
- npm install
- bower install
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- ember try:one $EMBER_TRY_SCENARIO test --skip-cleanup
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT