blob: 435aea1d5b89885c1136ab01dc14a5c9a6118901 [file] [log] [blame]
Matteo Scandoloa4285862020-12-01 18:10:10 -08001sudo: required
2
3language: go
4go_import_path: github.com/uber/jaeger-client-go
5
6dist: trusty
7
8matrix:
9 include:
David K. Bainbridge06631892021-08-19 13:07:00 +000010 # - go: 1.15.x
11 # env:
12 # - TESTS=true
13 # - USE_DEP=true
14 # - COVERAGE=true
15 - go: 1.15.x
Matteo Scandoloa4285862020-12-01 18:10:10 -080016 env:
17 - USE_DEP=true
18 - CROSSDOCK=true
David K. Bainbridge06631892021-08-19 13:07:00 +000019 # - go: 1.15.x
20 # env:
21 # - TESTS=true
22 # - USE_DEP=false
23 # - USE_GLIDE=true
Matteo Scandoloa4285862020-12-01 18:10:10 -080024 # test with previous version of Go
David K. Bainbridge06631892021-08-19 13:07:00 +000025 # - go: 1.14.x
26 # env:
27 # - TESTS=true
28 # - USE_DEP=true
29 # - CI_SKIP_LINT=true
Matteo Scandoloa4285862020-12-01 18:10:10 -080030
31services:
32 - docker
33
34env:
35 global:
36 - DOCKER_COMPOSE_VERSION=1.8.0
37 - COMMIT=${TRAVIS_COMMIT::8}
38 # DOCKER_PASS
39 - secure: "CnjVyxNvMC/dhr/eR7C+FiWucZ4/O5LfAuz9YU0qlnV6XLR7XXRtzZlfFKIImJT6xHp+OptTqAIXqUbvwK2OXDP1ZsLiWRm+2elb9/isGusWXjs3g817lX8njSUcIFILbfi+vAE7UD2BKjHxpmvWmCZidisU1rcaZ9OQNPqMnNIDxVx0FOTwYx+2hfkdjnN5dikzafBDQ6ZZV/mGbcaTG45GGFU6DHyVLzf9qCPXyXnz2+VDhcoPQsYkzE56XHCmHxvEfXxgfqYefJNUlFPhniAQySVsCNVDJ8QcCV6uHaXoIzxJKx9FdUnWKI1/AtpQsTZPgEm4Ujnt+kGJsXopXy2Xx4MZxmcTCBwAMjZxPMF7KoojbtDeOZgEMtf1tGPN6DTNc3NpVmr0BKZ44lhqk+vnd8HAiC1tHDEoSb1Esl7dMUUf1qZAh3MtT+NYi3mTwyx/ilXUS7KPyy7x0ezB3kGuMoLhvR2hrprqRr5NOV2hrd1au+IXmb+4IanFOsBlceBfs8P0JFMO/aw15r+HimSZpQsJx//IT0LReCZYXLe0/WVsF/8+HDwHKlO99gGpk4iXlNKKvdPWabihMp3I3peMrvL+jnlwh47RqHs/0Q71xsKjVWTn+Svq3FpVP0Pgyxhg+oG4WEByBiLnBQcZwSBhWexkJrNI73GzaZiIldk="
40 # DOCKER_USER
41 - secure: "bpBSmypHzI4PnteM4cwLiMC2163Sj/4mEl+1dj+6NWl2tr1hREeVXKhsWBpah25n6BDyr2A4yhBZcWLaNKrsCKT3U37csAQTOFVeQ9x5xhPq+ohANd/OsspFsxNZaKwx161LizH/uTDotMxxevZacsyYWGNv/cRFkwcQ8upLkReRR6puJ+jNQC0BFpKWBJY/zpm5J7xFb7FO20LvQVyRgsgzqWmg9oRNVw9uwOfSY3btacftYctDLUbAr8YRNHd2C6dZnMAi8KdDTLXKTqjKmp6WidOmi92Ml7tOjB+bV6TOaVAhrcI5Rdje4rRWG4MucAjPMP0ZBW36KTfcGqFUcDhX7UqISe2WxoI+8ZD6fJ+nNtD3bk4YAUJB4BSs2sQdiYyjpHyGJR6RW50+3uRz2YbXpzVr9wqv2lZSl/xy3wC5Hag55uqzVlSiDw2pK8lctT3dnQveE7PqAI577PjF2NrHlgrBbykOwwUCNbRTmykzqoDnkxclmiZ+rflEeWsSYglePK/d6Gj9+N7wJZM5heprdJJMFTrzMWZ21Ll9ZGY9updCBKmJA8pBYiLHbu0lWOp+9QUGC+621Zq0d1PHhN6L4eXk/f3RNoZTr//cX6WdNmmO7tBbaGpmp/UYiYTY1WO9vP7tCDsT75k285HCfnIrlGRdbCZZbfuYNGPKIQ0="
42
43install:
44 - make install-ci USE_DEP=$USE_DEP
45 - if [ "$CROSSDOCK" == true ]; then bash ./travis/install-crossdock-deps.sh ; fi
46
47script:
48 - if [ "$TESTS" == true ]; then make test-ci ; else echo 'skipping tests'; fi
49 - if [ "$CROSSDOCK" == true ]; then bash ./travis/build-crossdock.sh ; else echo 'skipping crossdock'; fi
50
51after_success:
52 - if [ "$COVERAGE" == true ]; then mv cover.out coverage.txt ; else echo 'skipping coverage'; fi
53 - if [ "$COVERAGE" == true ]; then bash <(curl -s https://codecov.io/bash) ; else echo 'skipping coverage'; fi
54
55after_failure:
56 - if [ "$CROSSDOCK" == true ]; then timeout 5 docker-compose -f crossdock/docker-compose.yml logs; fi