Skip to content

Commit

Permalink
build: ci (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyubisation authored Jun 21, 2019
1 parent 227da9b commit 85bc0db
Show file tree
Hide file tree
Showing 26 changed files with 752 additions and 70 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ yarn-error.log
testem.log
/typings
docker/browser
lintReport.json
angularBusinessLintReport.json
angularPublicLintReport.json

# System Files
.DS_Store
Expand Down
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ dist: trusty
sudo: required
addons:
chrome: stable
firefox: latest

cache: npm

script:
- npm run build:libs
- if [ "$TRAVIS_TAG" == "" ] && [[ "$TRAVIS_COMMIT_MESSAGE" != *"skip-tests"* ]]; then npm run test; fi
- if [ "$TRAVIS_TAG" == "" ] && [[ "$TRAVIS_COMMIT_MESSAGE" != *"skip-tests"* ]]; then npm run lint; fi
- if [ "$TRAVIS_TAG" == "" ] && [[ "$TRAVIS_COMMIT_MESSAGE" != *"skip-tests"* ]]; then npm run sonar; fi
- if [ "$TRAVIS_TAG" == "" ]; then npm run test; fi
- if [ "$TRAVIS_TAG" == "" ]; then npm run lint; fi
- if [ "$TRAVIS_TAG" == "" ]; then npm run sonar; fi
- npm run build:angular-showcase
before_deploy:
- echo "//registry.npmjs.org/:_authToken=\${NPM_AUTH_TOKEN}" > ~/.npmrc
Expand Down
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@
"configurations": {
"ci": {
"watch": false,
"codeCoverage": false,
"codeCoverage": true,
"browsers": "ChromeHeadless",
"sourceMap": true,
"sourceMap": false,
"preserveSymlinks": false
}
}
Expand Down Expand Up @@ -179,7 +179,7 @@
"ci": {
"watch": false,
"codeCoverage": true,
"browsers": "HeadlessChromeNoSandbox,BsChrome",
"browsers": "ChromeHeadless",
"sourceMap": false,
"progress": false
},
Expand Down
Loading

0 comments on commit 85bc0db

Please sign in to comment.