@ -2,7 +2,7 @@ os: linux
dist: bionic
language: go
go:
- 1.14
- 1.16
go_import_path: github.com/harmony-one/harmony
cache:
directories:
@ -13,7 +13,7 @@ ENV BLS_DIR=${HMY_PATH}/bls
ENV CGO_CFLAGS="-I${BLS_DIR}/include -I${MCL_DIR}/include"
ENV CGO_LDFLAGS="-L${BLS_DIR}/lib"
ENV LD_LIBRARY_PATH=${BLS_DIR}/lib:${MCL_DIR}/lib
ENV GIMME_GO_VERSION="1.14.1"
ENV GIMME_GO_VERSION="1.16.3"
ENV PATH="/root/bin:${PATH}"
RUN apt-get update -y
@ -16,7 +16,7 @@ http://api.hmny.io/
## Requirements
### **Go 1.14.7**
### **Go 1.16.3**
### **GMP and OpenSSL**
On macOS:
@ -1,6 +1,6 @@
module github.com/harmony-one/harmony
go 1.14
go 1.16
require (
github.com/VictoriaMetrics/fastcache v1.5.7 // indirect
@ -1,5 +1,5 @@
# Build
FROM golang:1.14 AS build
FROM golang:1.16 AS build
RUN apt update -y && \
apt install libgmp-dev libssl-dev git -y && \