-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
23 lines (20 loc) · 1010 Bytes
/
.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
matrix:
include:
language: scala
scala:
- 2.9.3
script:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then sbt ++$TRAVIS_SCALA_VERSION test; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sbt ++$TRAVIS_SCALA_VERSION coverage test coverageReport coverageAggregate codacyCoverage; fi'
language: node_js
node_js:
- "12"
addons:
chrome: stable
before_script:
- npm install -g @angular/cli
script:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then cd client && npm install && ng build --prod && npm run test -- --no-progress --browsers=ChromeHeadlessCI --source-map=false && cd .. ; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then cd client && npm install && ng build --prod && npm run test -- --no-progress --browsers=ChromeHeadlessCI --source-map=false && cd .. ; fi'
after_success:
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash <(curl -s https://codecov.io/bash); fi'