e32a70a784
tokenizer: fix a bug and regenerate the code \w latest Go
...
See https://github.com/bzz/enry/pull/4 for details.
Test Plan:
- go test ./...
2020-03-19 19:08:21 +01:00
bc5e031cee
Drop src-d org ref except for issues
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2020-03-19 14:04:36 +01:00
48fc84a555
ci: bump oniguruma version v5.x -> v6.9.1
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-05-08 15:26:22 +02:00
453caf7d19
ci: simplify go & add maintainer to java pom
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-04-14 19:28:51 +02:00
cb765d1243
ci: GOPATH-independent simplifications
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-04-12 12:16:38 +02:00
9a46d6bc8d
ci: test on 2 latest Go version \w modules
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-04-12 11:51:24 +02:00
20c6d2845a
build: gopkg.in -> github.com imports
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-04-12 11:49:16 +02:00
85de120c17
ci: export env vars
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-04-11 21:35:49 +02:00
110822b014
ci: remove 'sudo: false' as it's deprecated on Travis
...
See https://docs.travis-ci.com/user/reference/trusty/#container-based-infrastructure
and https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration#timeline---its-happening-fast
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-04-11 15:10:56 +02:00
5fab94b5b9
ci: disable cgo by default
...
With go1.11 `go test` in GOPATH mode somehow
seems to depend on GCC. See https://github.com/golang/go/issues/28065
This change only enables cgo for CI profiles that
need it. Those are the ones that seem to fail
on TravisCI now, presumably due to some compiler
version missmatch.
That is a workaround and does not happen in GO11MODULE mode.
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-04-11 15:10:43 +02:00
58a81694f6
ci: fix bug that enabled oniguruma for all profiles
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-04-11 15:09:47 +02:00
d73725709b
ci: fix versions to workaround compiler release 🐛
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-04-11 15:08:32 +02:00
82f784d2f7
release: skip uploading useless jar; fixes #208
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-04-09 18:27:07 +02:00
01633d410f
ci: make java release use latest go code
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-02-20 23:22:01 +01:00
f42b68fe70
ci: multiple go versions in build matrix
...
Mostly affects enry-java release, now using 1.11
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2019-02-20 23:22:01 +01:00
13d3d66d37
refactoring: remove un-used code, add go doc, fix ci ( #199 )
...
Refactoring, consisting of
- remove unused method `isAuxiliaryLanguage` and `FileCountList`
in order to reduce public API surfaces (go/java)
- add GoDoc to public APIs
- ci: java profile use latest go src
It also now mimics https://docs.travis-ci.com/user/languages/go/#go-import-path
for non-go build image, as code relies on internal imports.
TEST PLAN:
- make test
2019-02-05 22:54:14 +01:00
b4c163b8e4
ci: fix typo in deployment provider name
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2018-10-24 16:00:44 +02:00
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
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
5367f86f92
ci: make packages fetch deps
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2018-10-24 08:44:00 +02:00
9d68ab72cd
ci: make curl actually fail on 404s
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2018-10-24 00:37:52 +02:00
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
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
1c3747ab66
ci: add debug version info
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2018-10-23 14:12:33 +02:00
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
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
0f6077dd94
ci: pin VM version
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2018-10-23 13:11:09 +02:00
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
a7d9b95135
ci: move default to 1.10
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2018-10-21 15:57:59 +02:00
cd5adb803f
ci: remove go tip
...
Signed-off-by: Alexander Bezzubov <bzz@apache.org >
2018-10-21 15:56:50 +02:00
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
180e8b64c5
ci: fix maven publish steps
...
Signed-off-by: Denys Smirnov <denys@sourced.tech >
2018-05-10 16:17:10 +03:00
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
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
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
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
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
b087f85697
Add two-engine tests
...
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech >
2017-10-26 17:04:31 +02:00
f3446a3f10
ci: Update encrypted GPG key
2017-10-02 14:24:33 +02:00
d6e70542da
test
...
Signed-off-by: Miguel Molina <miguel@erizocosmi.co >
2017-10-02 14:18:49 +02:00
26685f9861
build: Add support to publish x86-64 libs for both linux and darwin.
2017-09-28 15:18:47 +02:00
fd6a2f2132
travis: Fix binary deployment
2017-08-23 13:05:57 +02:00
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
f53abe6bc2
travis configuration
...
Signed-off-by: Miguel Molina <miguel@erizocosmi.co >
2017-08-08 18:02:01 +02:00
d28497d3d1
added before_deploy section to .travis.yml
2017-07-18 16:14:59 +02:00
adcaeb4a48
added deploy section to .travis.yml
2017-07-18 14:44:30 +02:00
ded3e2c4ae
Added test-coverage
2017-06-28 08:31:31 +02:00
9fd2d1e8cd
added codeCov integration
2017-06-21 10:45:27 +02:00
3a470f617c
project renamed to enry
2017-06-08 09:27:27 +02:00
45f82764b0
travis
2017-04-05 19:21:01 +02:00