forked from status-im/topic-democracy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 860 Bytes
/
.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
sudo: required
dist: xenial
language: node_js
node_js:
- "10"
addons:
snaps:
- ipfs
env:
- PATH=/snap/bin:$PATH
before_install:
- ipfs init
- sudo apt-get update -qq
- sudo apt-get install software-properties-common -y -qq
- sudo add-apt-repository -y ppa:ethereum/ethereum
- sudo apt-get update -qq
- sudo apt-get install geth -y -qq
- < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32} > .password
script:
- npm test
before_deploy:
- npm run travis
cache: npm
before_cache:
- rm -rf node_modules/remix-simulator/node_modules/websocket/.git/
- rm -rf node_modules/remix-tests/node_modules/websocket/.git/
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: dist
keep_history: true
on:
branch: develop
after_deploy:
- rm .password
- rm -rf .embark/travis/datadir/keystore