This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
/
.travis.yml
71 lines (66 loc) · 1.56 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
matrix:
include:
- language: go
go: 1.13.1
env:
- GO111MODULE=on
before_script:
- cd golang
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.20.0
script:
- go test ./btcspv
- language: node_js
node_js: 10.14.2
before_script:
- cp testVectors.json solidity/test
- cd solidity
- npm install -g truffle
- npm install
script:
- npm run lint
- npm run test
- language: node_js
node_js: 10.14.2
before_script:
- cd js
- npm install
script:
- npm run lint
- npm run test
- language: python
python:
- "3.6"
before_install:
- cd python
- pip install pipenv
install:
- pipenv install --dev
script:
- pipenv run test
- language: rust
rust: stable
cache:
directories:
- ./target
- /home/travis/.cargo
before_install:
- cd c
- sudo apt-get install build-essential
- sudo apt-get install check
install:
- make setup
script:
- make
- language: rust
rust: stable
cache:
directories:
- ./target
- /home/travis/.cargo
before_script:
- cd rust
- cargo install cargo-nono
script:
- cargo nono check --no-default-features
- cargo test
- cargo test --lib --no-default-features