Skip to content

Commit

Permalink
Merge pull request #1208 from cosmos/fabo/1059-test-exe
Browse files Browse the repository at this point in the history
Fabo/1059 test exe
  • Loading branch information
faboweb authored Aug 31, 2018
2 parents 65ec10c + 9ca4d20 commit f44cbc1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,16 @@ jobs:
- attach_workspace:
at: builds/Gaia

# download network configs
- run: tasks/build/testnets/build.sh

# build Voyager
- run: node -e 'require("./tasks/build/build.js").buildAllPlatforms()'

# test linux build
- run: tar -zxvf ./builds/Voyager/Cosmos_Voyager-*-Linux.tar.gz
- run: yarn test:exe "./Cosmos Voyager"

- run: node tasks/publish.js

workflows:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added

* test if build Voyager actually starts @faboweb

## [0.10.2] - 2018-08-29

### Changed

* moved about Window to be a native menu so it would display from the application toolbar at any time @faboweb
Expand Down
2 changes: 1 addition & 1 deletion app/networks
3 changes: 0 additions & 3 deletions tasks/publish.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"use strict"

const build = require(`./build/build`)
const fs = require("fs")
const path = require("path")
const release = require("publish-release")
Expand Down Expand Up @@ -36,8 +35,6 @@ const publishRelease = ({ notes, tag, token }) =>
})

async function main() {
await build.buildAllPlatforms()

console.log("--- Publishing release ---")

const notes = createNotes(
Expand Down
2 changes: 1 addition & 1 deletion tasks/test-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function test(executablePath) {
reject()
}, 5000)
} catch (err) {
await cleanExitChild(child)
if (child) await cleanExitChild(child)
console.error("Unexpected error", err)
reject(err)
}
Expand Down

0 comments on commit f44cbc1

Please sign in to comment.