Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for github releases and OS windows for travis #143

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,36 @@ language: go
os:
- linux
- osx
- windows
before_install:
- |-
case $TRAVIS_OS_NAME in
windows)
[[ ! -f C:/tools/msys64/msys2_shell.cmd ]] && rm -rf C:/tools/msys64
choco install -y make
;;
esac
go:
- 1.15.x
script: make build
#script: scripts/build_win.bat
matrix:
allow_failures:
- go: tip
git:
submodules: false
deploy:
provider: releases
api_key: ${GITHUB_API_KEY}
file_glob: true
file: build/*
skip_cleanup: true
on:
tags: true
branch: master
env:
global:
- VERSION: ${TRAVIS_TAG}
# what is this?
- secure: WB/4RQ8P5Q8MkGzASC6mFdEwrXVmKoeTlzzMcZh63GuoVk2vPhREvgZKc0o48+b/w3P2kv9NOfr3aFUTNt4fLKqjzAmUb3fKe2ISim727QnS4SMo7UN4Oj+/7ipQqRNR2LO3p01uIbhLVhPs/398i/ZnCjHObcX4cADOO2SwgjRYJw/92+qT80JY7DMIBfzCfKUxz/BV5qqSPMoO2IEUkIXz8oQHo1LD5Bq6Qrfxx8kRbLIFDZASG7CYPR3FOCYuXvAltzrBd0fxW8/VzHgjpjkQHxQuBt95UT3pSuA0MPOFjAUSBQ90MIsRSdqNnvuA+eykgU+QY0Twzt1u2SIJvdGHfU4FnZrwWnnkHVlMnaM/KpsbJ0pGJO078+uZb8S1qq3QMLAzJ6NJSbtZKLPLNMqrIf/Oi/NSCGE8kfU0FMMaC8R8UuGypc218LsUNnkH0vcRx7WNkiOnGd6RTvKOx14k2DnzHJBXwlmAg0PA1wY+kw31hRdIVgeuFYzjSK/0ikZJ3cMy4JREpOtSew15MkpMDAMX9SCo0/xH1H10RRqQcKMVNrMRDxzYuQa4h6GcnTu76fNw/MbWq7JN6KlcKupeK1IJpmorqj/lrywu/fZLJWQPUfkdNOJmzkplVBNVJHYPe3SF4VMLzFnz4qNasRJIk2noXp8eXWv/hOFEzQ8=
- secure: R9dZFEXM5JU9Pmp5OonAjm3IPZ1lbwcBXuB/SqtnchVpJw0XX0Hf9cVYfDzhzRT19Se90MPuYLW2CgpBoU5O/t2HP0dXhlaDWWTnU3y44+xScMGBjPaBcsSFGFgerbYHw7jQ7QCkgCYYR+UP7Dc1v7tBUMFiDrut6/I86MLTJjW2tOBYRQ7llpedar8bMkgQ+iV+2wIoU+9l6MgKsdC5JLHDPB8BhbSfSc6CgxRyBjmvPpPQwHh+yCgkUKTUCepXpDcMAIQtUPOajvUT4zrKXE5C+vq+WA7lG8MH4aO2QK3jMQIon/sOZOJc+DCRvJqGn/JIwGdpF/w0SfqjsiSbswIp4e17ez6QjCtp5jPzDQPm3U9iXjsU3E3SkjIExXPNXQwEMqEkszyvRIrEx95+y/wYY00oTW8wzZFQDf/XAfwjjcnRRDeor65CwcL+xcV88XUikGUEPsu5V+TESxm3IJDaloh2zqSPwZW+GEeHt2GrvqUoyfj9VT8+DaYU2rkkVASiUiUpFtuOtCkU76A3A2bwxbYgZ/K66b4MqEwnNUBEXt5WZEsc5wmxvGhpO9Crfs4VHgELjm57P8gY2OK7Q9sAMS5JHBq5Ei7vbfto/idyF7fLUwpLxxEnYb2SoCL9ZLBU/bzK1uvQJxHaxb9lqYDmYPwq3MgODi+8CnE6IZ8=
1 change: 1 addition & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

set -e
set -x

# Utility functions
lint() {
Expand Down
1 change: 1 addition & 0 deletions scripts/build_libgit2.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh

set -e
set -x

DIR=$(pwd)
LIBGIT2_PATH=$DIR/libgit2
Expand Down