forked from coinrust/crex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (31 loc) · 812 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
language: go
go:
- 1.13
sudo: false
os:
- linux
before_script:
- cd examples/backtest
install:
- eval "$(curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=master bash)"
script:
- env GO111MODULE=on go build
# before_deploy:
# - GOARCH=amd64 GOOS=linux go build -o crex-linux-amd64
# - GOARCH=amd64 GOOS=windows go build -o crex-windows-amd64.exe
# - zip -r crex-linux-amd64.zip crex-linux-amd64
# - unix2dos config.toml README.md
# - zip -r crex-windows-amd64.zip crex-windows-amd64
# deploy:
# provider: releases
# skip_cleanup: true
# local_dir: dist
# github_token: $GITHUB_TOKEN
# keep_history: true
# file:
# - crex-linux-amd64.zip
# - crex-windows-386.zip
# on:
# tags: true
# all_branches: true
# go: 1.13