env-create
Version:
Read in a .env.json file that contains valid JSON and assign top level properties to environment variables
16 lines • 422 B
YAML
language: node_js
node_js:
- "6"
- "8"
- "10"
- "11"
dist: trusty
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 test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT