Skip to content
This repository was archived by the owner on Nov 8, 2021. It is now read-only.

Commit b5609d2

Browse files
authored
chore: fix travis build issues (#75)
1 parent 63ce3f3 commit b5609d2

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ notifications:
55
node_js:
66
- '10'
77
before_install:
8-
- export CHROME_BIN=chromium-browser
98
- if [[ `npm -v` != 6* ]]; then npm i -g npm@6; fi
9+
services:
10+
- xvfb
11+
addons:
12+
chrome: stable
1013
after_success:
1114
- npm run build
1215
- cp .git dist/@ngx-translate/http-loader/ -r # required by semantic release
1316
- cp README.md dist/@ngx-translate/http-loader/
1417
- cd dist/@ngx-translate/http-loader/
15-
- npm install
18+
- npm install semantic-release@8.2.3 --no-save
1619
- npm run semantic-release
1720
branches:
1821
except:
1922
- /^v\d+\.\d+\.\d+$/
20-
before_script:
21-
- export DISPLAY=:99.0
22-
- sh -e /etc/init.d/xvfb start

projects/ngx-translate/http-loader/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
"@angular/common": ">=7.0.0",
2424
"rxjs": ">=6.3.0"
2525
},
26-
"devDependencies": {
27-
"semantic-release": "8.2.3"
28-
},
2926
"scripts": {
3027
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
3128
}

0 commit comments

Comments
 (0)