-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
64 lines (57 loc) · 2.46 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
language: node_js
node_js:
- "node"
services:
- postgresql
addons:
code_climate:
repo_token:
secure: "ZV86wmtnYNKkWZIe+6WqLPcJRf+1JZg2M2h/tZG/Guld4WH/e3Toa1t8NnckKCnVQK5FuaduQTarTFHhGQfB1O8LuYy9xKE0+6Nd9qgPcSDkGqX+HeEyreLSYyoh0M5CfAGmtD9kje7+3wVRVTjukFmEmk7JvasDXWVPL5zwvhF+OGvXpyBie+Z7V6RWusJxAxw6Gs2BLRrUJhnkTCxJfI8WbDfcVEwk82jF+jJxbSZT5p0BBfWymzwrwR+N4OJ0MA9B1Jb6cnvDeN7EH0kc1i+088HM5j3QM9W/3RER/tytbWBiZPyb/RSlfhvCgKYPxVjRkoVQoO88IvO86FlgjLebsdehdq/B0yFW3Ho2QIS13P1WP5cMzX3qwCR/z7G2XSH7rphaRLerrKCWqFF5K13RYXmfkSA0nme5t7D+LYdHEn/ZAFvPqlUb0AU4iiRSwAnjT0bUS0GAzxNEaFDWr+Mc43zqaoT6cr+sihVBI/8RHJYezbjsS9/ddHa5/fpgI3NJ9xK0pROjmnYgUA7k8twi2KCdMsiEfYuxXoD5FzCFcQIssIqBAKP67/LoYNdaFQSYgDwQjxZToL+gMbIYkiUxQFs0PDvt0R9p4ocSrI4nF1M2BgFfq+CkU4gIrK9hnzIa3zkAYVduPwpcYNxjxWZErm/s45MGG1pQEEtpzKs="
before_script:
- npm install codeclimate-test-reporter istanbul -g
- psql -c 'create database travis_ci_test;' -U postgres
after_script:
- codeclimate-test-reporter < ./coverage/lcov.info
- npm run coverage
- npm run report-coverage
# script: babel-node ./node_modules/.bin/babel-istanbul cover _mocha -- -R spec \"./test/*.spec.js\" --timeout 15000000 --compilers js:babel-core/register
# after_success:
# after_script: NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
# env:
# global:
# - CC_TEST_REPORTER_ID=f9d06acc600fa14bc78db4810c60e2173f21b6407095a56c6c2a9cdc22055b7a
# language: ruby
# rvm:
# - 2.2.0
# 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:
# - bundle exec rspec
# after_script:
# - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
# language: node_js
# env:
# global:
# - CC_TEST_REPORTER_ID=f9d06acc600fa14bc78db4810c60e2173f21b6407095a56c6c2a9cdc22055b7a
#
# node_js:
# - "node"
# dist: trusty
# addons:
# chrome: stable
# before_script:
# - yarn global add nyc
# - 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:
# - nyc --reporter=lcov yarn run unit
#
# after_script:
# - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
#
# notifications:
# email: false