Permalink
Browse files

Create javascript_examples.md (#327)

* Create javascript_examples.md

* Update javascript_examples.md
  • Loading branch information...
amadeu01 authored and ale7714 committed Apr 11, 2018
1 parent 569936f commit c30f6a72fd64d8ed47a8840c90bdb0321bdfad5a
Showing with 31 additions and 0 deletions.
  1. +31 −0 examples/javascript_examples.md
@@ -0,0 +1,31 @@
## Example 1
- Language: JavaScript
- CI: TravisCI (Environment Variables are set on travis web)
- Coverage Tool: [nyc](https://github.com/istanbuljs/nyc)
- File: travis.yml
- Single/Parallel: Single
- OSS Repo: https://github.com/amadeu01/adminviu

```yml
language: node_js
node_js:
- 8.2.1
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
```

0 comments on commit c30f6a7

Please sign in to comment.