-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
50 lines (49 loc) · 1.78 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
dist: trusty
language: node_js
node_js:
- "6.9"
env:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
- rm google-chrome*.deb
before_script:
- npm install webpack
- npm install extract-text-webpack-plugin
- npm install css-loader
- npm install sass-loader
- npm install node-sass
- npm install source-map-loader
- npm install typescript
- npm install ts-loader
- npm install mocha
- npm install karma
- npm install karma-chrome-launcher
- npm install karma-mocha
- npm install chai
- npm install coveralls
- npm run build:prod
after_success:
- npm run coveralls
deploy:
email: [email protected]
provider: npm
skip_cleanup: true
on:
tags: true
all_branches: true
api_key:
secure: lrrbE2TyMRqAZCFSjoX5nn9dXkemxgvVJZo+I1jhQjR8k+d7DE8rL9PIpdCNLAYmsJoXxSRxYLlf5SkN7mZftMqBDoHojtWX0JSxhV2O2R+fAkU8uLWqfJf9FCoUMMhUJHsdoxroOVAnUBTIB5OZGzZWCPX/TBkT4hMKhrGTGKHunAnZgpjLzDfaMz7NeU5aSt1hZ6Z55lQCM3gfdBnRF4CGaFLtY/b1Azd25JweYAf/HKCGYZx3enlZVIQI27XpdNN4xQiEtWYbNzrUZv4qWjoBPrA2zEeWy8fwsd0CTr3PtZapRpRXCOf+9vmJAsxZvbBRgTutzCR6ijCVAr4/BKIc+oMNYlju7MZdxv3BfLw2U4p0iJvk1HPid+FgLiZ/xAC455zhpihwujV2jnx0KAulH0IlkaIZqFkGxmWCp1P6GvPgpwC3hEPc1oyOoHNyjkEesttscmC8dGV5sgQ2k2g3xwBby1yugsHxUg5VD0kVPfIuFTDXxAfzGILO0HBdi2+erDjufMAcd1S42oA324aBaRDI5OskecZJz5EwzCercN1MUX0sGhcWo0R53WcfzYQtixz4Yhzd1jBz2WsmyWgwOQXbcTqFYI5K7zCLLcLg4QaTJYwYpGqz6UrVMmTi44Q6tVZs/W7WLQq9wBjX7LtdLW6bS7KBgXVARoSWO3o=