From b087f856970b6d739203f7e3b39faba3c688f9f5 Mon Sep 17 00:00:00 2001 From: Vadim Markovtsev Date: Fri, 29 Sep 2017 12:39:18 +0200 Subject: [PATCH] Add two-engine tests Signed-off-by: Vadim Markovtsev --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7e9c164..94bd418 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: