github.com/altipla-consulting/ravendb-go-client@v0.1.3/.travis.yml (about) 1 # based on https://github.com/ravendb/ravendb-ruby-client/blob/v4.0/.travis.yml 2 sudo: required 3 dist: trusty 4 language: go 5 6 notifications: 7 email: 8 recipients: 9 - kkowalczyk@gmail.com 10 on_success: always 11 on_failure: always 12 13 go: 14 - 1.11 15 16 # TODO: maybe use latest build instead of latest stable 17 # - wget -O RavenDB.tar.bz2 https://hibernatingrhinos.com/downloads/RavenDB%20for%20Linux%20x64/latest?buildType=nightly 18 19 before_install: 20 - sudo apt-get -qq update 21 - sudo apt-get install -y libunwind8 wget libicu52 libssl-dev curl unzip gettext libcurl4-openssl-dev zlib1g uuid-dev bzip2 openssl sed 22 - mkdir ./certs; cd ./certs 23 - sudo cp ca.crt /usr/local/share/ca-certificates/ca.crt 24 - sudo update-ca-certificates 25 - cd .. 26 # when changing version, update RAVENDB_SERVER_VERSION in travis_run_tests.sh 27 - wget -O RavenDB.tar.bz2 https://daily-builds.s3.amazonaws.com/RavenDB-4.1.3-linux-x64.tar.bz2 28 - tar xvjf RavenDB.tar.bz2 29 - rm RavenDB.tar.bz2 30 - ls -lah RavenDB 31 32 # Travis aborts the test if there's no output in 10 mins 33 # go test seems to hijack os.Stdout and buffers everything until the end, 34 # even with -v flag. 35 # travis_wait is a "keep alive" that prints to stdout 36 # https://docs.travis-ci.com/user/common-build-problems/#my-builds-are-timing-out 37 38 script: 39 - travis_wait 30 ./scripts/travis_run_tests.sh 40 41 after_success: 42 - bash <(curl -s https://codecov.io/bash)