mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-09-20 15:31:21 +00:00
ci: bump oniguruma version v5.x -> v6.9.1
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
parent
a724a2f841
commit
48fc84a555
18
.travis.yml
18
.travis.yml
@ -1,7 +1,5 @@
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- '1.12.x'
|
- '1.12.x'
|
||||||
- '1.11.x'
|
- '1.11.x'
|
||||||
@ -10,17 +8,13 @@ env:
|
|||||||
- GO_VERSION_FOR_JVM='1.11.x'
|
- GO_VERSION_FOR_JVM='1.11.x'
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
- GO111MODULE=on
|
- GO111MODULE=on
|
||||||
|
- ONIGURUMA_VERSION='6.9.1'
|
||||||
matrix:
|
matrix:
|
||||||
- ONIGURUMA=0
|
- ONIGURUMA=0
|
||||||
- ONIGURUMA=1
|
- ONIGURUMA=1
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- libonig-dev
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- name: test
|
- name: test
|
||||||
- name: release
|
- name: release
|
||||||
@ -32,8 +26,14 @@ stage: test
|
|||||||
install:
|
install:
|
||||||
- >
|
- >
|
||||||
if [[ "${ONIGURUMA}" -gt 0 ]]; then
|
if [[ "${ONIGURUMA}" -gt 0 ]]; then
|
||||||
export CGO_ENABLED=1;
|
export CGO_ENABLED=1
|
||||||
export GO_TAGS='oniguruma';
|
export GO_TAGS='oniguruma'
|
||||||
|
# install oniguruma manually as trusty has only ancient 5.x
|
||||||
|
sudo apt-get install -y dpkg # dpkg >= 1.17.5ubuntu5.8 fixes https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1730627
|
||||||
|
wget "http://archive.ubuntu.com/ubuntu/pool/universe/libo/libonig/libonig5_${ONIGURUMA_VERSION}-1_amd64.deb"
|
||||||
|
sudo dpkg -i "libonig5_${ONIGURUMA_VERSION}-1_amd64.deb"
|
||||||
|
wget "http://archive.ubuntu.com/ubuntu/pool/universe/libo/libonig/libonig-dev_${ONIGURUMA_VERSION}-1_amd64.deb"
|
||||||
|
sudo dpkg -i "libonig-dev_${ONIGURUMA_VERSION}-1_amd64.deb"
|
||||||
fi;
|
fi;
|
||||||
script:
|
script:
|
||||||
- make test-coverage
|
- make test-coverage
|
||||||
|
Loading…
Reference in New Issue
Block a user