Skip to content

Commit

Permalink
Update Travis config and add lint task
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemelia committed Mar 3, 2018
1 parent 83af085 commit 1e9aefa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,18 @@ env:

matrix:
fast_finish: true
allow_failures:
- env: EMBER_TRY_SCENARIO=ember-canary

before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH

install:
- yarn install --no-lockfile --ignore-engines --non-interactive
- yarn install --no-lockfile --non-interactive

script:
- yarn lint:js
# Usually, it's ok to finish the test scenario without reverting
# to the addon's original dependency state, skipping "cleanup".
- node_modules/.bin/ember try:each --skip-cleanup
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"build": "ember build",
"start": "ember serve",
"deploy": "ember github-pages:commit --message \"Deploy gh-pages from commit $(git rev-parse HEAD)\"; git push; git checkout -",
"test": "ember try:each"
"test": "ember try:each",
"lint:js": "eslint ./*.js app config lib server tests"
},
"dependencies": {
"ember-cli-babel": "^6.12.0",
Expand Down

0 comments on commit 1e9aefa

Please sign in to comment.