Skip to content
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
29 changes: 21 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
os:
- linux
language: node_js
sudo: false
sudo: true
node_js:
- "9.3"
- "10.12"
install:
- npm install
- npm i
- npm run build
- rm -rf ./node_modules
- npm i --production
before_script:
- npm i -g @angular/cli
- set -e
- cp -rf "$PWD" ~/ngw
- cd ~
- ng new test-project --skip-install --defaults=true
- cd test-project
- npm i
- cp -rf "../ngw" "./node_modules/ngw"
- ln -sr "./node_modules/ngw/bin/ngw" "./node_modules/.bin/ngw"
script:
- npm run lint
- npm test
- npm build
after_success:
- npm run coverage
- "grep 'angular.*: \"' package-lock.json | sort -u"
- ./node_modules/.bin/ngw --set-up
- npm run build | fgrep ngw.config
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,18 @@
"homepage": "https://github.com/Angular-RU/ngw#readme",
"peerDependencies": {
"@types/node": "*",
"@types/webpack": "*",
"typescript": "^3.0.0"
"@types/webpack": "*"
},
"dependencies": {
"ts-node": "^7.0.1"
"ts-node": "^7.0.1",
"typescript": "^3.0.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "0.6.7",
"@angular-devkit/core": "0.6.7",
"@types/node": "^9.4.6",
"@types/webpack": "^3.0.0",
"tslint": "^5.8.0",
"tslint-config-standard": "^7.0.0",
"typescript": "^2.7.2"
"tslint-config-standard": "^7.0.0"
}
}