http urls monitor.

.travis.yml 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. sudo: required
  2. notifications:
  3. email: false
  4. language: go
  5. go:
  6. - "1.8"
  7. - "1.9"
  8. # - "tip"
  9. services:
  10. - docker
  11. - mongodb
  12. - postgresql
  13. addons:
  14. postgresql: 9.5
  15. apt:
  16. sources:
  17. - mongodb-3.0-precise
  18. packages:
  19. - freetds-bin
  20. - mongodb-org-server
  21. - mongodb-org-shell
  22. before_install:
  23. - sudo service mysql stop
  24. - docker pull microsoft/mssql-server-linux:latest
  25. - docker pull mysql:5.7
  26. - docker run -d -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=my$Password' --name mssql -p 1433:1433 -d microsoft/mssql-server-linux:latest
  27. - docker run -d -e "MYSQL_USER=upperio_tests" -e "MYSQL_PASSWORD=upperio_secret" -e "MYSQL_ALLOW_EMPTY_PASSWORD=1" -e "MYSQL_DATABASE=upperio_tests" -p 3306:3306 --name mysql mysql:5.7
  28. - docker ps -a
  29. - sleep 30
  30. env:
  31. global:
  32. - MAKEFLAGS="-j4"
  33. - GOARCH=amd64
  34. - DB_HOST=127.0.0.1
  35. matrix:
  36. - TEST_CMD="make benchmark test-main"
  37. - TEST_CMD="make test-adapters"
  38. install:
  39. - mkdir -p $GOPATH/src/upper.io
  40. - mv $PWD $GOPATH/src/upper.io/db.v3
  41. - cd $GOPATH/src/upper.io/db.v3
  42. - go get -t -v -d ./...
  43. - go get -v github.com/cznic/ql/ql
  44. - export TRAVIS_BUILD_DIR=$GOPATH/src/upper.io/db.v3
  45. before_script:
  46. - docker exec -it mysql bash -c 'mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql'
  47. script:
  48. - ${TEST_CMD}