Skip to content

Commit

Permalink
#24 added test script to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
paleika committed Dec 30, 2020
1 parent 2241baf commit 2339071
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ install:
script:
- yarn lint
- yarn build
# - yarn test
- yarn travis-test

after_failure:
- curl -X POST https://api.telegram.org/bot759756758:$TELEGRAM_NOTIFY/sendMessage -d chat_id=-1001184364910 -d "text=OwlbearDM equipment *build failed* for \`$TRAVIS_BRANCH\` [#$TRAVIS_BUILD_NUMBER]($TRAVIS_BUILD_WEB_URL). %0D %0D $TRAVIS_COMMIT_MESSAGE" -d "parse_mode=Markdown"
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"build": "webpack --config webpack.js --mode=production",
"start": "webpack-dev-server --hot --open --config webpack.js --mode=development",
"lint": "eslint src/",
"test": "jest --watch"
"test": "jest --watch",
"travis-test": "jest"
},
"devDependencies": {
"@babel/core": "^7.12.9",
Expand Down

0 comments on commit 2339071

Please sign in to comment.