forked from adridadou/eth-propeller-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
44 lines (35 loc) · 1.19 KB
/
circle.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
# Java Maven CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-java/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/openjdk:8-jdk
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4
working_directory: ~/repo
environment:
# Customize the JVM maximum heap limit
MAVEN_OPTS: -Xmx3200m
steps:
- run: sudo wget https://github.com/ethereum/solidity/releases/download/v0.5.9/solc-static-linux -O /usr/local/bin/solc
- run: sudo chmod +x /usr/local/bin/solc
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- v2-dependencies-{{ checksum "pom.xml" }}
# fallback to using the latest cache if no exact match is found
- v2-dependencies-
- run: mvn dependency:go-offline
- save_cache:
paths:
- ~/.m2
key: v2-dependencies-{{ checksum "pom.xml" }}
# run tests!
- run: mvn test