Browse Source

Handle packing differently on CI

master
Leo Lamprecht 7 years ago
parent
commit
a5cdaae401
  1. 6
      .travis.yml
  2. 0
      scripts/slack.js
  3. 10
      test/pack-now.js

6
.travis.yml

@ -3,9 +3,11 @@
"node_js": [
"node"
],
"before_script": [
"yarn run pack"
],
"after_success": [
'npm install -g slackup',
'npm run pack',
'yarn global add slackup',
'./scripts/slack.js'
],
"deploy": {

0
scripts/slack.js

10
test/pack-now.js

@ -8,16 +8,6 @@ const test = require('ava')
// Utilities
const logo = require('../src/util/output/logo')
test.serial('make binary', async t => {
if (!process.env.CI) {
t.true(true)
return
}
const result = await spawn('npm', ['run', 'pack'])
t.is(result.code, 0)
})
const binary = {
darwin: 'now-macos',
linux: 'now-linux',

Loading…
Cancel
Save