Commit Graph

7 Commits

Author SHA1 Message Date
Harsimran Singh Maan
1b7cbff4cd Add github actions ci 2021-05-19 16:00:28 +02:00
Stanisław Barzowski
234b97cd9c Enforce no golangci-lint warnings in CI 2020-03-05 14:54:27 +01:00
Alexander Petrov
e6572f5083 Compile package in 32-bit mode 2020-02-18 10:32:37 +01:00
Stanisław Barzowski
31b9ace0f6 Remove old release mechanism from Travis 2020-02-10 00:28:17 +01:00
Dave Cunningham
1c89ed8927 Don't assume Go is in a specific directory 2019-06-08 18:59:32 +01:00
Damien Lespiau
f7fcba659c travis: Support building pushed branches
This commit refactors travisBuild.sh to support building pushed branched on top
of PRs and tags.

This was prompted by enabling travis on a forked repository. The devlopment
flow then becomes:
  - Fork google/go-jsonnet
  - Enable travis on fork repository
  - Push branch to forked repository
  - Travis runs on the pushed branch
  - Submit pull request once happy and tests pass in the forked repository

I tested 3 scenarii and they seem behave nicely:
  - Running CI for pushed branch
  - Running CI for tag
  - Running CI for a Pull Request

As a side note, the previous error path didn't work as intented:
  - The TRAVIS_PULL variable didn't exist
  - We weren't exiting with a non 0 value in the else branch, so the build
    succeeded instead of failing when travisBuild.sh didn't know what to do
    with the pushed branch
2018-09-24 10:47:07 -04:00
Lars Wander
e01563f538 Adds TravisCI releaes process
Given the <tag> chosen in the GitHub releases page, this builds jsonnet
for darwin & linux amd64 (we can add more if needed), and uploads to
gs://jsonnet/<tag>/<os>/<arch>/jsonnet
2018-06-22 14:14:14 -04:00