Eugene Pankov 8 years ago
parent
commit
fe75b77420
2 changed files with 13 additions and 7 deletions
  1. 3 5
      .travis.yml
  2. 10 2
      appveyor.yml

+ 3 - 5
.travis.yml

@@ -1,11 +1,9 @@
 matrix:
   include:
   - os: linux
-    env: BUILD_FOR=windows ARTIFACT="dist/win/*.exe"
-  - os: linux
-    env: BUILD_FOR=linux ARTIFACT="dist/terminus*"
+    env: BUILD_FOR=linux
   - os: osx
-    env: BUILD_FOR=macos ARTIFACT="dist/terminus*"
+    env: BUILD_FOR=macos
 
 language: node_js
 node_js: 7
@@ -39,7 +37,7 @@ deploy:
   provider: releases
   api_key: $GITHUB_TOKEN
   file_glob: true
-  file: $ARTIFACT
+  file: "dist/terminus*"
   skip_cleanup: true
   on:
     tags: true

+ 10 - 2
appveyor.yml

@@ -24,5 +24,13 @@ build_script:
   - node scripts/prepackage-plugins.js
   - node scripts/build-windows.js
 
-artifacts:
-  - path: 'dist\*.exe'
+deploy:
+  provider: GitHub
+  auth_token:
+    secure: wvxHVlprvhfdOHgmVEDIwjCHYlmuDykteIEHpAfpi807+1lJD3ld2/OS6+0fgU4e
+  artifact: /.*\.exe/
+  draft: false
+  prerelease: false
+  on:
+    branch: master
+    appveyor_repo_tag: true