Skip to content

Commit

Permalink
Travis CI: 設定自動上傳釋出版本軟體
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁 <[email protected]>
  • Loading branch information
brlin-tw committed Apr 26, 2017
1 parent 6cf3a23 commit 53a75e8
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,22 @@ dist: trusty
# Fake language, we use Bash ;)
language: c
install:
# - sudo apt-add-repository multiverse # already enabled in vm environment
- sudo apt-get update -qq
- sudo apt-get install cabal-install
- sudo cabal update
- sudo cabal install --global ShellCheck
- sudo apt-get install realpath || true # should be in coreutils since 16.04(?)
- sudo apt-get update -qq
- sudo apt-get install cabal-install
- sudo cabal update
- sudo cabal install --global ShellCheck
- sudo apt-get install realpath || true
script:
- ./setup-development-environment.bash
- ./.git/hooks/pre-commit
#- ./build.bash
# No multiverse suite in container :(
#addons:
#apt:
#packages:
#- shellcheck
- "./setup-development-environment.bash"
- "./.git/hooks/pre-commit"
- ./build.bash
deploy:
provider: releases
api_key:
secure: tWizez4E4bVIXFZ80ZmdlA/pwezMJUf5wfPXNeZDE2rTffTJmAkCUb0t9ILf7h11IxuyRf8ElmRUx/jXay9UbY2SLI21QxwDLQkJefCKAG5rVwWOsGnmIHiyjbT96O5n24XSa53d6tkfKs0eL8wGtZ1R4P3rjTW5YTs5nc8kSTkEI5Hx0qr4y5nhbYOcRzyLhNRKsZIBBIZVpwF0IsneR1nMfnTA2XhlDyk1WQNcFsO8XVmPyaMv/4h/od68j1Lnq0bZBV6KbFJaWJguSAh89Xyz2FwEmPFlNZqYXBEHfr1aOLbfE54OUgFUmyZ8jpOutqPl5vKtGYxBlL2XvkvtUNxojFoPKy4HGEr87SUITTDh/RQDWTT8/jSMY5MsKQqjWYNy6f6cH7PPphLUXZblBTIG/h/jyQBndqfiiXaoIw/xmKYUF50fo6oQYwHBwp/XhnKhGfvZW5dmhDSjnrzbZ/RgnuNNp6iGphiWwdIRXplUjF2cGvSa1RvXNeusZ+HTAVCafqwK6CA5cVWQUm0dLqRZ7oby6F5TYKUcSY6nYKpow6eXphNIWgLd/vRKTqfTTFcc5hTv0H6C0cvVAHcExqypXy+mUWLqT2jRLSp4chvYd6hxSrZpQvJjNqyAtt21vskGrVCLOErrVJxFV9ppIVyMgBl2Wnaj1dhMxloGYbg=
file_glob: true
file: Software Release/*.tar.bz2
skip_cleanup: true
on:
repo: Lin-Buo-Ren/GNU-Bash-Shell-Script-Template
tags: true

0 comments on commit 53a75e8

Please sign in to comment.