-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (31 loc) · 864 Bytes
/
.travis.yml
File metadata and controls
36 lines (31 loc) · 864 Bytes
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
language: node_js
node_js:
- '12'
cache:
yarn: true
git:
depth: false
submodules: false
quiet: true
matrix:
include:
- os: linux
dist: bionic
services:
- docker
before_install:
- ./start_swarm_node.sh -d
# macOS build takes too long to run in Travis
# - os: osx
# env:
# - SWARM_VERSION=swarm-darwin-amd64-0.5.3-b0bc6a21
# before_install:
# - mkdir ~/data && echo "password" > ~/password
# - curl "https://ethswarm.blob.core.windows.net/builds/$SWARM_VERSION.tar.gz" | tar -x
# - ./$SWARM_VERSION/swarm --datadir ~/data --password ~/password --maxpeers=0 --verbosity=0 --httpaddr=0.0.0.0 --nat=none --corsdomain="*" --ws --wsaddr=0.0.0.0 --wsorigins="*" --enable-pinning &
script:
- yarn build
- yarn lint
- yarn test:ci
notifications:
email: false