diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..1f09e67 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,28 @@ +image: Visual Studio 2015 +environment: + BOOST_ROOT: C:\Libraries\boost_1_66_0 + # If the Gradle Daemon is used, AppVeyor waits forever for it to terminate + GRADLE_OPTS: -Dorg.gradle.daemon=false +init: + # Print Remote Desktop information for debugging porposes + - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) +build_script: + - mkdir build + - cd build + - cmake .. -G "Visual Studio 14 2015" + - cmake --build . --config Release --target package + - cd %APPVEYOR_BUILD_FOLDER% +test_script: + - build\rhubarb\Release\runTests.exe +artifacts: + - path: build\rhubarb-lip-sync-*.zip +deploy: + provider: GitHub + release: $(APPVEYOR_REPO_TAG_NAME) + description: '' + auth_token: + secure: Gk7y8Cb9ImDBthgL56W1QMWDEp4oIcbUeKgXnkiBsy7G+V6H59MPXv0ZC7Zht8+3 + artifact: /.*\.zip/ + draft: true + on: + appveyor_repo_tag: true diff --git a/.travis.yml b/.travis.yml index 3cfd0c7..260dc8f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,10 +17,26 @@ matrix: script: - mkdir build - cd build - - cmake -DCMAKE_CXX_COMPILER=g++-5 .. && make && ./rhubarb/runTests + - cmake -DCMAKE_CXX_COMPILER=g++-5 .. + - cmake --build . --config Release --target package + - ./rhubarb/runTests - os: osx osx_image: xcode7.3 script: - mkdir build - cd build - - cmake .. && make && ./rhubarb/runTests \ No newline at end of file + - cmake .. + - cmake --build . --config Release --target package + - ./rhubarb/runTests +deploy: + # Deploy to GitHub releases + provider: releases + api_key: $GITHUB_OAUTH_TOKEN + file_glob: true + file: "./rhubarb-lip-sync-*.zip" + skip_cleanup: true + on: + tags: true + tag_name: $TRAVIS_TAG + name: $TRAVIS_COMMIT_MESSAGE + draft: true diff --git a/README.adoc b/README.adoc index e693694..43750e1 100644 --- a/README.adoc +++ b/README.adoc @@ -8,8 +8,9 @@ :H: Ⓗ :X: Ⓧ -image:https://img.shields.io/travis/DanielSWolf/rhubarb-lip-sync/master.svg["Build Status", link="https://travis-ci.org/DanielSWolf/rhubarb-lip-sync"] image:https://img.shields.io/twitter/follow/RhubarbLipSync.svg?style=social&label=Follow["Twitter", link="https://twitter.com/RhubarbLipSync"] +image:https://img.shields.io/appveyor/ci/DanielSWolf/rhubarb-lip-sync/master.svg?label=Windows%20build["Windows build status", link="https://ci.appveyor.com/project/DanielSWolf/rhubarb-lip-sync"] +image:https://img.shields.io/travis/DanielSWolf/rhubarb-lip-sync/master.svg?label=OS%20X%20/%20Linux%20build["OS X / Linux build status", link="https://travis-ci.org/DanielSWolf/rhubarb-lip-sync"] ---