Migrate from Travis CI to Github Actions (Fix #19)

This commit is contained in:
Yifan Gao
2021-08-10 07:26:16 +08:00
parent 595940b227
commit 1f899ff241
5 changed files with 54 additions and 38 deletions

View File

@@ -2,12 +2,9 @@
set -e
cidr-merger --version || {
curl -sL -o ~/bin/gimme https://raw.githubusercontent.com/travis-ci/gimme/master/gimme
chmod +x ~/bin/gimme
eval "$(gimme stable)"
go get github.com/zhanhb/cidr-merger
}
cidr-merger --version || \
go get github.com/zhanhb/cidr-merger@v1.1.2
bgptools --version | grep -F $BGPTOOLS_VERSION || \
cargo install --vers $BGPTOOLS_VERSION bgptools