-
Notifications
You must be signed in to change notification settings - Fork 35
/
.travis.yml
19 lines (19 loc) · 1.15 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
dist: trusty
sudo: required
language: node_js
node_js:
- '4'
- '6'
- '8'
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:
- npm test -- --coverage
after_script:
- if [[ "$TRAVIS_PULL_REQUEST" == "false" && `node --version` == *v8* ]]; then ./cc-test-reporter
after-build --exit-code $TRAVIS_TEST_RESULT; fi
env:
global:
secure: DVYVNvf1Yzp4n+lrEbmGLXmu3CQTHZgSCGkyDziB3eyl1n4w6905UNqs5e4pQYGta/dzGnMFS+FG9+V7eKbhe+Hv9Hzdi0aNM0/g+d+4sMAvJNAyL4H91KUdXyVRzyNzBhqffH8nqIledP4/tTapCd/q5w/S/VpRLDTl4tWES0l27HG6juCIauO+sBIV7ZrLCOHltbRLDDGpnUYsyCfSB69Na5lqYPgYABWZFL+L47/Kkx5YSVb5aIvHAL1XxH/IhLq8wweLakzqnwz7h/BjOtuyYb63lP00cQG4FWyRXRswwv8rxn6J+f3EeTTY0qznd2AwQpUlQEWuGxg9QRNqUuoQIupSiL4nsM1YCvOm7DQzh/b7tHjyzy2o7ytaL4nUVg3zasY+7QQ046WWAtCsc+fNG3CUpERmSYOtl3eQ1pVHeSsHskdKljPelOm/J05teWFQqfOmDPagLo2uHZPDehDUfhOTwQSyoPaeHkYnipKwnqx9isUwu+IIaL6vNVZ5Lw6cha5WJw/0vE+NyOTlEgqcRtD66jnawkwl28XESYbBon2ugYJ6UQfpjE4R/8P0446UzE8A7W9AH1JSEdHCPCPN3CnbKBLTOdQUfRSB3KsfIqx0LTv8JGy2akq5XXkKQ8th8tLS8HPs0whJx5QPJQ1XV7m9HEitkG1FwyIKIYQ=