Skip to content

Commit

Permalink
trying to fix travis build
Browse files Browse the repository at this point in the history
  • Loading branch information
Georgi Peltekov committed May 16, 2018
1 parent c35c33e commit a8091d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ branches:
# We're also doing the install step here too, as we need
# the results of previous builds to install future builds
script:
- ng new drop-test
&& npm install -g ngx-file-drop
&& ng build
- npm install
&& npm install -g ngx-file-drop
&& npm run packagr
# Notifications
notifications:
email:
Expand Down
12 changes: 4 additions & 8 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist",
"index": "src/sandbox/index.html",
"main": "src/sandbox/main.ts",
"index": "src/lib/index.html",
"main": "src/lib/ngx-drop/index.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/sandbox/polyfills.ts",
"assets": [

],
"styles": [
"src/sandbox/styles.scss"
],
"scripts": []
},
Expand All @@ -37,8 +33,8 @@
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "src/sandbox/environments/environment.ts",
"with": "src/sandbox/environments/environment.prod.ts"
"replace": "src/lib/environments/environment.ts",
"with": "src/lib/environments/environment.prod.ts"
}
]
}
Expand Down

0 comments on commit a8091d1

Please sign in to comment.