Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: ci #49

Merged
merged 4 commits into from
Jun 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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