Commit Graph

33 Commits

Author SHA1 Message Date
Alexander Bezzubov
51c418039d
ci: fix .travis.yml syntax for conditional deployments
Was scilently missing `on:` section :(

https://docs.travis-ci.com/user/deployment/#conditional-releases-with-on

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-24 14:57:53 +02:00
Alexander Bezzubov
03da155069
ci: explicitly enable deployment on tag
As per https://docs.travis-ci.com/user/deployment/#conditional-releases-with-on
it otherwise results in builds like https://travis-ci.org/src-d/enry/jobs/445378509
```
Skipping a deployment with the release provider because this branch is not permitted: v1.6.7
```

So either it needs to be `all_branches: true` or `tags: true` to work.

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-24 08:54:55 +02:00
Alexander Bezzubov
5367f86f92
ci: make packages fetch deps
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-24 08:44:00 +02:00
Alexander Bezzubov
9d68ab72cd
ci: make curl actually fail on 404s
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-24 00:37:52 +02:00
Alexander Bezzubov
dc7b8d7215
ci: move publishing .jar to separate stage
Publishing jar relies on native lib artifacts beeing
published to GH release first, thus a separate stage
is needed to guarantee order.

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-23 23:55:57 +02:00
Alexander Bezzubov
5833f33f41
ci: fail fast on release & fix linux-shared build
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-23 23:42:17 +02:00
Alexander Bezzubov
1c3747ab66
ci: add debug version info
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-23 14:12:33 +02:00
Alexander Bezzubov
ff8d87226f
ci: add ONIGURUMA jobs
It's very clear now: only Golang UnitTests are run
with oniguruma regexp enabled.

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-23 14:10:25 +02:00
Alexander Bezzubov
20f6f11a43
ci: break down to multiple stages \w prallel jobs
Biggest benefit of using separate stage for tests and release
is that we are not waiting for osx VM instance instance any
more on every PR, just to run
`if [[ -z "$TRAVIS_TAG" ]]; then echo "Skipping this build for non-tag builds."; exit 0; fi`
there.

It alos adds clarity to CI structure => is easier to maintain.

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-23 14:09:44 +02:00
Alexander Bezzubov
0f6077dd94
ci: pin VM version
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-23 13:11:09 +02:00
Alexander Bezzubov
89ec551e70
ci: use go 1.10.x
gimme version on TravisCI is old, 1.2 and does not support .x resulting in
 `I don't have any idea what to do with '1.10.x'
but it works on latest master https://github.com/travis-ci/gimme#asking-gimme-what-a-version-is
thus opting out in always running a latest gimme

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-23 11:44:51 +02:00
Alexander Bezzubov
a7d9b95135
ci: move default to 1.10
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-21 15:57:59 +02:00
Alexander Bezzubov
cd5adb803f
ci: remove go tip
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
2018-10-21 15:56:50 +02:00
Antonio Jesus Navarro Perez
15bb13117f Refactor Oniguruma integration
Instead of use a command to change imports before build, using a build tag to generate the correct binary.

This will allow applications to compile enry using oniguruma with less troubles.

Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
2018-08-29 18:01:13 +03:00
Denys Smirnov
180e8b64c5 ci: fix maven publish steps
Signed-off-by: Denys Smirnov <denys@sourced.tech>
2018-05-10 16:17:10 +03:00
Denys Smirnov
c72d3c4af2 ci: do not run go install steps for maven deploy
Signed-off-by: Denys Smirnov <denys@sourced.tech>
2018-05-04 22:36:52 +03:00
Zeger-Jan van de Weg
7923b86ebd
Rename onigumura to oniguruma
This change names the dependency like its called. The link to the
package was correct, but all other references were renamed where I could
find time with git grep.

Signed-off-by: Zeger-Jan van de Weg <git@zjvandeweg.nl>
2018-03-28 21:34:54 +02:00
Juanjo Alvarez
bb027340fb
Use a precompiled package for osxcross for CI.
Signed-off-by: Juanjo Alvarez <juanjo@sourced.tech>
2017-11-21 15:29:36 +01:00
Manuel Carmona
0984e07415 use of go 1.9.x in travis
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
2017-11-08 14:41:31 +01:00
Vadim Markovtsev
b66d54eaec Do not run Travis jobs with ONIGUMURA by default
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:47:52 +02:00
Vadim Markovtsev
b087f85697 Add two-engine tests
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
2017-10-26 17:04:31 +02:00
Alfredo Beaumont
f3446a3f10 ci: Update encrypted GPG key 2017-10-02 14:24:33 +02:00
Miguel Molina
d6e70542da test
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-10-02 14:18:49 +02:00
Alfredo Beaumont
26685f9861 build: Add support to publish x86-64 libs for both linux and darwin. 2017-09-28 15:18:47 +02:00
Alfredo Beaumont
fd6a2f2132 travis: Fix binary deployment 2017-08-23 13:05:57 +02:00
Miguel Molina
61827a3630
remove references to maven usage in both README and travis.yml
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-08-09 10:14:47 +02:00
Miguel Molina
f53abe6bc2
travis configuration
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
2017-08-08 18:02:01 +02:00
Manuel Carmona
d28497d3d1 added before_deploy section to .travis.yml 2017-07-18 16:14:59 +02:00
Manuel Carmona
adcaeb4a48 added deploy section to .travis.yml 2017-07-18 14:44:30 +02:00
David Paz
ded3e2c4ae Added test-coverage 2017-06-28 08:31:31 +02:00
David Paz
9fd2d1e8cd added codeCov integration 2017-06-21 10:45:27 +02:00
Máximo Cuadros
3a470f617c project renamed to enry 2017-06-08 09:27:27 +02:00
Máximo Cuadros
45f82764b0 travis 2017-04-05 19:21:01 +02:00