Skip to content

Commit

Permalink
chore(maker): upgrade electron-installer-flatpak to 0.8.0 & re-enable…
Browse files Browse the repository at this point in the history
… its tests
  • Loading branch information
malept authored and MarshallOfSound committed Jan 2, 2018
1 parent 26f347a commit 9c199e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci/script.sh
@@ -1,7 +1,7 @@
#!/bin/bash

if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
sudo docker run --interactive --tty --volume $(pwd):/code malept/electron-forge-container:latest /code/ci/docker.sh $NODE_INSTALLER
sudo docker run --privileged --interactive --tty --volume $(pwd):/code malept/electron-forge-container:latest /code/ci/docker.sh $NODE_INSTALLER
else
npm run test-coverage -- --installer=$NODE_INSTALLER
fi
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -154,7 +154,7 @@
"optionalDependencies": {
"electron-installer-debian": "^0.7.1",
"electron-installer-dmg": "^0.2.0",
"electron-installer-flatpak": "^0.6.0",
"electron-installer-flatpak": "^0.8.0",
"electron-installer-redhat": "^0.5.0",
"electron-windows-store": "^0.12.0",
"electron-winstaller": "^2.5.0"
Expand Down
2 changes: 1 addition & 1 deletion test/slow/api_spec_slow.js
Expand Up @@ -311,7 +311,7 @@ describe(`electron-forge API (with installer=${nodeInstaller})`, () => {
});

function getMakers(platform) {
return fs.readdirSync(path.resolve(__dirname, `../../src/makers/${platform}`)).map(file => path.parse(file).name).filter(name => name !== 'flatpak');
return fs.readdirSync(path.resolve(__dirname, `../../src/makers/${platform}`)).map(file => path.parse(file).name);
}

const goodMakers = [...getMakers(process.platform), ...getMakers('generic')];
Expand Down

0 comments on commit 9c199e0

Please sign in to comment.