Skip to content

Commit f640dc2

Browse files
committed
Add initial circleci config file
1 parent 47ae8d6 commit f640dc2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.circleci/config.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: circleci/golang:1.9-node
6+
working_directory: /go/src/github.com/singnet
7+
environment:
8+
SINGNET_REPOS: /go/src/github.com/singnet
9+
steps:
10+
- run:
11+
name: Install tools
12+
command: |
13+
# install protobuf
14+
sudo apt-get -y install golang-goprotobuf-dev golint
15+
# install IPFS
16+
wget https://dist.ipfs.io/go-ipfs/v0.4.17/go-ipfs_v0.4.17_linux-amd64.tar.gz
17+
tar xvfz go-ipfs_*.tar.gz
18+
cp ./go-ipfs/ipfs $GOPATH/bin
19+
# Installl Python
20+
sudo apt-get -y install python3 python3-pip
21+
# Install other
22+
sudo apt-get -y install libudev-dev libusb-1.0-0-dev
23+
- run:
24+
name: Build platform-contracts
25+
command: |
26+
cd $SINGNET_REPOS
27+
git clone https://github.com/singnet/platform-contracts.git
28+
cd platform-contracts
29+
npm install
30+
npm install ganache-cli

0 commit comments

Comments
 (0)