Add two-engine tests

Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
This commit is contained in:
Vadim Markovtsev 2017-09-29 12:39:18 +02:00
parent e8d150c4fd
commit b087f85697

View File

@ -4,16 +4,26 @@ go:
- 1.8
- tip
addons:
apt:
packages:
- libonig-dev
matrix:
allow_failures:
- go: tip
fast_finish: true
env:
- ONIGUMURA=1
- ONIGUMURA=0
install:
- rm -rf $GOPATH/src/gopkg.in/src-d
- mkdir -p $GOPATH/src/gopkg.in/src-d
- ln -s $PWD $GOPATH/src/gopkg.in/src-d/enry.v1
- cd $GOPATH/src/gopkg.in/src-d/enry.v1
- if [ "$ONIGUMURA" == "1" ]; then make onigumura; fi
- go get -v -t ./...
script: