-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (38 loc) · 1.3 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
language: node_js
dist: trusty
sudo: true
node_js:
- 7.5.0
addons:
apt:
packages:
- python-pip
notifications:
email: false
slack:
rooms:
- gapminder:siB4Z9ymsYR6qHnRPpgUoB2Q#vizabi-spam
on_success: change
on_failure: always
cache:
directories:
- node_modules
before_install:
- npm install -g npm@latest
- sudo pip install s3cmd
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm run build
script:
- npm run deploy
deploy:
skip_cleanup: true
provider: npm
email: [email protected]
api_key:
secure: qG2/rttWoEfZ9b54+g0mAFZ9qZI7JbKq5RYqHQrzgHJs7CSFzcZ60d6V+DUFB/xlYBwfyvpXALkT8255gnlAodqRJnHqXveXU8hO8vk6PJF2VT8w4CtGnA0CaUnPnf56Se0o09jN2Rub8BTv6U9jjyFHBKt+nt1BgozV397iKpUNMzURq8TVZcmsrC37JSpF3PB6/znwFm1YeC3T1ymd0vTXkGdGdJLui5J4TbRzNkXZI3YsQLZJhzpfHvpUNpu0S0e1u37YBJgoH2zAC5XZrfUcZV1kR0b4ATyhVlpOYaVyWlPTM60AoNL0aR5NYD3Z3amURvu22pJPA6QVkhG9bSc7YJh7i2Z5VQB7dRI1Raz5mr+whh6IhrKKnVJ8NXzYEH/nrte9z+HhONWFUo+dEHOUcJ1cB16s0OZlCUR6vjlwLNLb3GvbJG7iITS7JDOZaXwRasEDSmDLd53iTELeAPz3hV6DHJAonr59nMjPJ5EXp0vKu61+KyfahfbQF4fAP+K28AKPYPk2EudMG+4z2tBW/ox9cm9fwdZ5X9hxb7ZhM8NMusQ7s79be9z2VIjkYOgJrGQkyuwx5KMurs2269vXurtQDYY6/tDXIpW+yZ1J4mMBVYKLNH47BTH12ApZQnZKULwOeeYs8xAPRCYpfaMANO4OPhJmFZOMiuHpR+4=
on:
branch: develop
node: 7.5.0
condition: "-e /tmp/deployment.flag"