File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -103,4 +103,18 @@ script:
103103 # build & run tests
104104 - cabal new-build -w ${HC} ${TEST} ${BENCH} all
105105
106+ before_deploy :
107+ - cp $(find dist-newstyle/ -type f -name threadscope -exec test -x {} \; -print) threadscope.$TRAVIS_OS_NAME
108+ - gzip -f threadscope.$TRAVIS_OS_NAME
109+
110+ deploy :
111+ provider : releases
112+ api_key :
113+ secure : " CLdDbxzqQRTU6wMRqyMutoprbgr8o6fQfIYZc7DBkbRi1r6bOpJl/2Bmob6FYC1XhMsdeBhZfLy0a0MqcU4LNbToLtR8yKN+SvmfEUQn3novk69vfI5KipFqLLeduN4oHgGXSdjIdck3nF/ze8kB2ottJUNdp8J3UxAgMwS9AF8="
114+ file : threadscope.$TRAVIS_OS_NAME.gz
115+ skip_cleanup : true
116+ on :
117+ repo : haskell/ThreadScope
118+ tags : true
119+ condition : " $HC = ghc-8.2.1"
106120# EOF
Original file line number Diff line number Diff line change @@ -23,3 +23,16 @@ test_script:
2323- stack --no-terminal build --ghc-options -Werror
2424- stack sdist
2525version : ' {build}'
26+ after_test :
27+ - ps : cp "$(./stack.exe path --local-install-root)/bin/threadscope.exe" threadscope.exe
28+ - 7z a threadscope.windows.%PLATFORM%.zip threadscope.exe
29+ artifacts :
30+ - path : threadscope.windows.%PLATFORM%.zip
31+ deploy :
32+ - provider : GitHub
33+ auth_token :
34+ secure : IbU7Tokqkdq4bI5PT+HvzG0hO4O8t2Lxq3GamSuAzWsQWt4vZahOGL9StxIXIe94
35+ artifact : threadscope.windows.$(platform).zip
36+ release : $(appveyor_repo_tag_name)
37+ on :
38+ appveyor_repo_tag : true
You can’t perform that action at this time.
0 commit comments