-
Notifications
You must be signed in to change notification settings - Fork 23
/
.travis.yml
21 lines (17 loc) · 685 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
dist: trusty
language: node_js
node_js:
- "8"
install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
- sudo apt-get update -q
- sudo apt-get install -q google-chrome-stable
script:
- npm install
- npm test
- ./node_modules/.bin/ng build --prod --no-aot --base-href=/ng2-eonasdan-datetimepicker/
after_success:
- ./node_modules/.bin/ngh --dir demo/dist --repo=https://[email protected]/atais/ng2-eonasdan-datetimepicker.git