-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.travis.yml
41 lines (32 loc) · 933 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
38
39
40
41
dist: focal
language: scala
scala:
- 2.13.5
jdk:
- oraclejdk12 # as of 10 june 2021, up to jdk12 works but 13+ fail
before_install:
- nvm install 17 # as of 26 jan 2022, node 17 works with ganache 7 (below)
- npm install -g npm # update npm
- npm install -g ganache@>=7.0.0 # install ganache
- python -m pip install termcolor eth_abi polling web3
install:
- gradle publish -b Obsidian_Runtime/build.gradle
env:
- TEST_SUITE=fabric_tests.sh
- TEST_SUITE=ganache_tests.py
script: "travis_specific/$TEST_SUITE"
jobs:
exclude:
- if: branch != master
env: TEST_SUITE=fabric_tests.sh
cache:
directories:
- $HOME/.cache/coursier
- $HOME/.ivy2/cache
- $HOME/.sbt
before_cache:
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
- find $HOME/.sbt -name "*.lock" -print -delete
addons:
hostname: localhost