未验证 提交 26f76e16 编写于 作者: A Avi Aryan

update travis, test build

上级 095b24e6
......@@ -3,50 +3,13 @@ dist: trusty
language: go
go:
- 1.8.x
filter_secrets: false
git:
lfs_skip_smudge: true
env:
global:
- MONGODB_VERSION=3.2.11
- ES_V5_URL=http://127.0.0.1:9205
- ES_V2_URL=http://127.0.0.1:9202
- ES_V1_URL=http://127.0.0.1:9201
matrix:
- TESTDIR="adaptor, adaptor/all, adaptor/file/..., client/..., commitlog/..., events/..."
- TESTDIR="function/..., log/..., message/..., offset/..., pipe/..., pipeline/..."
- TESTDIR=adaptor/elasticsearch/...
- TESTDIR=adaptor/mongodb/...
- TESTDIR=adaptor/postgres/...
- TESTDIR=adaptor/rabbitmq/...
- TESTDIR=adaptor/rethinkdb/...
- TESTDIR=integration_tests/mongo_to_mongo
- TESTDIR=integration_tests/mongo_to_es
- TESTDIR=integration_tests/mongo_to_rethink
- TESTDIR=integration_tests/rethink_to_postgres
before_install:
- "./scripts/before_install.sh"
cache:
directories:
- "$HOME/.cache/pip"
before_cache:
- if [[ $TESTDIR != integration* ]]; then rm -f $HOME/.cache/pip/log/debug.log; fi
- ABC_BUILD=oss
script:
- "./scripts/tests.sh"
after_success:
- if [[ $TESTDIR != integration* ]]; then bash <(curl -s https://codecov.io/bash); fi
addons:
postgresql: '9.4'
rethinkdb: '2.3.5'
before_script:
- "./scripts/before_script.sh"
after_script:
- "./scripts/after_script.sh"
- go build -tags 'oss' ./cmd/abc/...
install: true
branches:
only:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
notifications:
slack:
secure: R8wvRnq0DcxiFNgUvJ3npnzY2LzU8uVyF8enqfxXNuSR3jRC2tqUosB5Qzb1CCiNicmpEwj3VTcwTozzCwcqckysFek3Pp2/oxYL8tRjqxks1zUeMHVv204l83Js8PAFVhODCQjIxZNQCdUM2fQ9q46MvdY7V8h/wGTbQKq1ZLE=
- dev
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册