diff options
author | Philip Whineray <phil@firehol.org> | 2017-04-03 10:04:43 +0100 |
---|---|---|
committer | Philip Whineray <phil@firehol.org> | 2017-04-03 10:56:06 +0100 |
commit | 5d420d2becebe841fecc3c64a29e2996f904cd52 (patch) | |
tree | 36b1d66599692583cc9f2d067b7e12187a75d2c5 /.travis.yml | |
parent | 4580de5e885c703b45e552065e5f2e8592a104b4 (diff) |
Enable build and deploy of self-extractor
Requires full virtualisation (sudo) and docker (which requires trusty)
Make sure we include checksums for binary.
Make sure we only deploy one type of "nightly" build.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 59149cc90d..46bc3a5271 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,10 @@ -dist: precise +dist: trusty +sudo: true # # C includes autotools and make by default language: c +services: + - docker os: - linux - osx @@ -33,12 +36,15 @@ before_script: script: # make release packages - fakeroot ./packaging/git-build + # make self-extractor + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./makeself/build-x86_64-static.sh; fi # test build and installer - fakeroot ./netdata-installer.sh --install $HOME --dont-wait --dont-start-it # # Deploy as required after_success: - for i in *.tar.*; do md5sum -b $i > $i.md5; sha512sum -b $i > $i.sha; done + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then for i in *.gz.run; do md5sum -b $i > $i.md5; sha512sum -b $i > $i.sha; done; fi - ./.travis/deploy-if-have-key deploy: # Upload results to GitHub (tag only) @@ -48,7 +54,9 @@ deploy: secure: invJ0ZdNOPi9x8JJmFkqSIQMxljkLROwgRFCbmXMausJ0rA4E/PgLtM7ddWrHlu6lu8N9e5Pus4bG8DWATHbY0blMUhL5C82S5KK4mxAANLCLgTV8Qr7dMWnMqRV/OJBMGM1ZWpC2AA5GVhPLF7Z++54iqK+LM8P0EuOTAKbebIWCIkGybbSpXj+jJqaQXY0tLGSn5fXPFfyV3Tw0URJPcO3Uz5iukELngkLVSve2d0XYwy8M5tpLKHJi5bzc9CwcJZ/JK1WvklqmV3fNdSSzZunaAfDwWosV3hO7QcGnAVEbNl0HBKZJ8JkriV2fDbH4fttoSvLO2tW9HauP7Yf5XqLDudqUj4gPTuGzd31vRb9kx9cAulfE9onMAmDbjbne8Cp2Bq9/yBEqaofqEIaRcLgnlZSNc+PWbH4FQJ6fIOs5nfqLJo0G+3isgRWrqxp/rjILOvbIGbfLkbPl9aV09IvzShyW2lK7E+QOP0TZIwyXGT0NW0Rr/eyzuMXooy8wi9NehKfrxIcUr7784nU2E+EtItrhtTkJpK8XBBh16swn7s2sQ89qx9PYd/wE5qnKfG0yy3SSc2ycKzEpH7Cy3E6lC4Jytw0AM1Mc179WASBhlR2tyElkRcuhlqOFlJ/6iXjp3kqSgW4kvWbwHwT6VsyiDRhf+Ir4XILFBJ26Z8= skip_cleanup: true file_glob: true - file: "netdata*.tar.*" + file: + - "netdata*.tar.*" + - "netdata*.gz.run*" on: condition: $CC = gcc && $TRAVIS_OS_NAME = linux repo: firehol/netdata |