.travis.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. language: rust
  2. rust:
  3. - nightly-2019-06-24
  4. cache: cargo
  5. script:
  6. - cargo build --release
  7. - ls $TRAVIS_BUILD_DIR/target/release/
  8. - git config --local user.name "Johann Woelper"
  9. - git config --local user.email "woelper@gmail.com"
  10. # - export TRAVIS_TAG="latest"
  11. # - export TRAVIS_TAG="latest"-$TRAVIS_OS_NAME
  12. # - git tag $TRAVIS_OS_NAME-$(date +'%Y/%m/%d/%H-%M')
  13. os:
  14. - linux
  15. - osx
  16. - windows
  17. before_deploy:
  18. - cd $TRAVIS_BUILD_DIR
  19. - mv target/release/oculante target/release/oculante.$TRAVIS_OS_NAME
  20. - git tag $TRAVIS_OS_NAME-$(git log --format=%h -1)
  21. - export TRAVIS_TAG=$TRAVIS_OS_NAME-$(git log --format=%h -1)
  22. deploy:
  23. provider: releases
  24. skip_cleanup: true
  25. file_glob: true
  26. # draft: true
  27. overwrite: true
  28. name: $TRAVIS_OS_NAME
  29. file:
  30. - target/release/oculante
  31. - target/release/oculante.osx
  32. - target/release/oculante.linux
  33. - target/release/oculante.exe
  34. api_key:
  35. secure: T4bKfoDJhSysxOjlr7JGQqYz89OKRD59xdfKqr7FCYWVLySOpeSTO2FRbvCmRW/U589VhKqxT+mkMOI0Sr33N0JBq3CNxY5QXzsh/G5+AqfPBG+smSE9xQI2OweX68J/ykag8AxuVc4skR318okIvE0t9OaFMidYkU8gs8XkU97yc3cOoIeuDeDMQrIIhNkuA2yZLik1znCFJHktn28TKjH7VjdWB0Qhs0v0/2JsSYkqLIjgeiOqCnPjOIlTPNS+GIsVnfk4ItVjPK/f8VU7IVRZ8evmUk7+It+DkJKJIpp6LwQ7U8Ltfr/ReMpRihl5zKrexUzqjesqFw7efh8JuN9VmwRH3p05onzljpN1IcQCRRGLHQ63rRKeWt9A7sHLO7G4V1dWMCK0U3TlM9RfZe0zP70sBTSj3I0QNSBrEoRIqUi7oYmeH0bWysPmDxSkB53jXfP+raTjjpnowgfmD0pVIT53SB76IQVL305VO1HKmxSRC4ztNNBYLY3blQtls5CZamJyNJ58YpkhJBMryMnve5FX2etyrvUMSN3fuw7/hPqof4VDj6zD0Ilc1U2l+E5l8SgCJTNzvx2ExHbeEop8sx0OB/+fi7RsVAeLlqWmZwzT1bp5OXDRkezFGaObsetGcApMZr80xA5fyKXnngCDhyQDAzNmfIhy8B45X3A=