oni/.travis.yml

104 lines
4.0 KiB
YAML
Raw Permalink Normal View History

WIP: Fix for #312 - Add electron-packager to create release binaries (#316) * Add electron-packager dependency * Update package.json & plan * Update electron builder dependency * Update build directory to be lib * Add appveyor.yml * Add npm build command * Add setup artifacts * Add ico * Add dist command * Add icon files * Update appveyor and ico * add installerIcon * Add appveyor build status to README * Fix ignore filter * Update to use ia32 build for electron * Add setup file * Change from lzma2 to zip * Create setup template * Update setup name to include version * Fix ordering of dist/pack * Create SourcePath concept * Add paths for wizard image files * Add images for setup * Move some dependencies to dev dependencies if they are bundled via webpack * Update PLAN * Add zip file * Include osx binaries * Save zip file as well * Update naming * Updates for consistent naming * Try out Github provider for appveyor * Add secure auth token * Update * Add artifacts for OSX in .travis.yml * Run 'npm run dist' command * Add common pack command from linux & osx * Add trusty dist and sudo required for travisci * Try trusty another way * Only upload DMG for osx * Try matrix include again * Try moving some times around * Remove extra line * More tweaks * Additional apt packages * Try other targets for Linux * Update targets * Update package: * Add linux icons * Update package.json * Update targets for build * Add snapcraft to travis.yml * Stick with just .deb, .rpm, and .tar.gz for now * And linux release for the deb/rpm/tar.gz packages * Move npm provider after releases provider * Remove prepublish script * Remove CRLF dependency * Add 'osx' and 'linux' to package names to disambiguate * Add missing '$' * Remove PLAN.md as it is complete
2017-03-31 23:58:14 +02:00
sudo: required
dist: trusty
language: node_js
branches:
only:
- master
- /^release.*/
cache:
directories:
- .oni_build_cache
WIP: Fix for #312 - Add electron-packager to create release binaries (#316) * Add electron-packager dependency * Update package.json & plan * Update electron builder dependency * Update build directory to be lib * Add appveyor.yml * Add npm build command * Add setup artifacts * Add ico * Add dist command * Add icon files * Update appveyor and ico * add installerIcon * Add appveyor build status to README * Fix ignore filter * Update to use ia32 build for electron * Add setup file * Change from lzma2 to zip * Create setup template * Update setup name to include version * Fix ordering of dist/pack * Create SourcePath concept * Add paths for wizard image files * Add images for setup * Move some dependencies to dev dependencies if they are bundled via webpack * Update PLAN * Add zip file * Include osx binaries * Save zip file as well * Update naming * Updates for consistent naming * Try out Github provider for appveyor * Add secure auth token * Update * Add artifacts for OSX in .travis.yml * Run 'npm run dist' command * Add common pack command from linux & osx * Add trusty dist and sudo required for travisci * Try trusty another way * Only upload DMG for osx * Try matrix include again * Try moving some times around * Remove extra line * More tweaks * Additional apt packages * Try other targets for Linux * Update targets * Update package: * Add linux icons * Update package.json * Update targets for build * Add snapcraft to travis.yml * Stick with just .deb, .rpm, and .tar.gz for now * And linux release for the deb/rpm/tar.gz packages * Move npm provider after releases provider * Remove prepublish script * Remove CRLF dependency * Add 'osx' and 'linux' to package names to disambiguate * Add missing '$' * Remove PLAN.md as it is complete
2017-03-31 23:58:14 +02:00
matrix:
include:
- os: linux
sudo: required
dist: trusty
node_js: 8
- os: osx # OSX 10.12
2018-01-26 19:56:36 +01:00
node_js: 8
- os: osx # OSX 10.11
node_js: 8
osx_image: xcode8
allow_failures:
- osx_image: xcode8
WIP: Fix for #312 - Add electron-packager to create release binaries (#316) * Add electron-packager dependency * Update package.json & plan * Update electron builder dependency * Update build directory to be lib * Add appveyor.yml * Add npm build command * Add setup artifacts * Add ico * Add dist command * Add icon files * Update appveyor and ico * add installerIcon * Add appveyor build status to README * Fix ignore filter * Update to use ia32 build for electron * Add setup file * Change from lzma2 to zip * Create setup template * Update setup name to include version * Fix ordering of dist/pack * Create SourcePath concept * Add paths for wizard image files * Add images for setup * Move some dependencies to dev dependencies if they are bundled via webpack * Update PLAN * Add zip file * Include osx binaries * Save zip file as well * Update naming * Updates for consistent naming * Try out Github provider for appveyor * Add secure auth token * Update * Add artifacts for OSX in .travis.yml * Run 'npm run dist' command * Add common pack command from linux & osx * Add trusty dist and sudo required for travisci * Try trusty another way * Only upload DMG for osx * Try matrix include again * Try moving some times around * Remove extra line * More tweaks * Additional apt packages * Try other targets for Linux * Update targets * Update package: * Add linux icons * Update package.json * Update targets for build * Add snapcraft to travis.yml * Stick with just .deb, .rpm, and .tar.gz for now * And linux release for the deb/rpm/tar.gz packages * Move npm provider after releases provider * Remove prepublish script * Remove CRLF dependency * Add 'osx' and 'linux' to package names to disambiguate * Add missing '$' * Remove PLAN.md as it is complete
2017-03-31 23:58:14 +02:00
addons:
apt:
packages:
- libxkbfile-dev
- libgnome-keyring-dev
- icnsutils
- graphicsmagick
- xz-utils
- rpm
- bsdtar
before_install:
- |
# Get the files modified in this commit, and check there is
# actual code changes made. If there isn't, stop the build.
MODIFIED_FILES=$(git diff --name-only $TRAVIS_COMMIT_RANGE)
if ! echo ${MODIFIED_FILES} | grep -qvE '(\.md$)/'; then
echo "Only documents were updated, stopping..."
exit
fi
install:
- npm install -g yarn@1.9.4
# Remove problematic version of yarn
- rm -rf ~/.yarn/bin
- yarn --version
- which yarn
- yarn install
script:
- npm run check-cached-binaries
- ./build/script/install-reason.sh
- ./build/script/travis-build.sh
- travis_wait ./build/script/travis-pack.sh
- ./build/script/travis-test.sh
2016-12-20 15:39:44 +01:00
deploy:
- provider: s3
access_key_id: AKIAIYMATI2CEFTHPBOQ
secret_access_key:
secure: S4f/aczEABGAMKk2tmVSkoGx+T2TLPmz5z6x6RKaM+eDmAaVSAELlIj1eAz6Tu2lv3jz+cpyAIISZNC/phORsJWwzbSZHVycLrMG0N3fDTqKFxu1fl6L3b3exRe9SiKXug73ZvHfktzd/XfRcgZKop4qgrwGiM57m0ZuZb/j1LkgjytTuvNAUxXbA84I8LZs/NhY17XuXq+KPlGElIHy3UFoGqQ8pBnTypkIU5rQTsoeAxXLBE8JAFfz+nBGZ7dx6OMbQcKX5jKh/gR3vk+4aTgV8gNE2Zp24ErjSqF2zly/gP9nE2DpfR7jqpZVHnb/v+OEjRDS80tLhPo8Dbibzwt2ZZNADpYBjSGtphwAmq4DCvJ7ORExOB5+O3wmXKQGdItyBTS7sW44n6BTyv87WxWuCaSDQ9QaO9PrbJdN5YGEYeRxSTM7Mn0t72IILkfFCUeSg6fl6tFs9iWIj5zltbxH1GQsRpA8j1Idg4O+894KnQABtw/YKh6rrdeYS9y/100qAjtV6qYyiP2IdPqMWGuasOiz87q3CQ8Ejd7uhiTjAaINVqos+0k04Yf5+rT4MqkeXnYFzjXuXcqDlpq6yJIZv3aD+PMSlZi2WmTYnPJXQFndHo/x9FhEh90UF9WdO5S27ySRSo8XQT4DyL3ToPkqz8y0slNmaNqiqMouQAU=
bucket: oni-media
local-dir: dist/media
acl: public_read
region: us-west-2
skip_cleanup: true
on:
condition: $TRAVIS_OS_NAME = osx
repo: onivim/oni
WIP: Fix for #312 - Add electron-packager to create release binaries (#316) * Add electron-packager dependency * Update package.json & plan * Update electron builder dependency * Update build directory to be lib * Add appveyor.yml * Add npm build command * Add setup artifacts * Add ico * Add dist command * Add icon files * Update appveyor and ico * add installerIcon * Add appveyor build status to README * Fix ignore filter * Update to use ia32 build for electron * Add setup file * Change from lzma2 to zip * Create setup template * Update setup name to include version * Fix ordering of dist/pack * Create SourcePath concept * Add paths for wizard image files * Add images for setup * Move some dependencies to dev dependencies if they are bundled via webpack * Update PLAN * Add zip file * Include osx binaries * Save zip file as well * Update naming * Updates for consistent naming * Try out Github provider for appveyor * Add secure auth token * Update * Add artifacts for OSX in .travis.yml * Run 'npm run dist' command * Add common pack command from linux & osx * Add trusty dist and sudo required for travisci * Try trusty another way * Only upload DMG for osx * Try matrix include again * Try moving some times around * Remove extra line * More tweaks * Additional apt packages * Try other targets for Linux * Update targets * Update package: * Add linux icons * Update package.json * Update targets for build * Add snapcraft to travis.yml * Stick with just .deb, .rpm, and .tar.gz for now * And linux release for the deb/rpm/tar.gz packages * Move npm provider after releases provider * Remove prepublish script * Remove CRLF dependency * Add 'osx' and 'linux' to package names to disambiguate * Add missing '$' * Remove PLAN.md as it is complete
2017-03-31 23:58:14 +02:00
- provider: releases
api_key:
2018-09-29 04:17:56 +02:00
secure: qB2KX7c9gRf9HDNetUVJOSa1Lo81QJiukOChOEzGUkYzD/et/2uNgzl0AQX0jB6aOYNwtZAxTd/ON3TTbEWh90o+R1PmQUgQCZ8xIFjOwnQmuHFp4hHoOWNI/ahmQ3W5UD+gmkV5YTRDMfuNnRjraDcQ5R6744Gii4zHGBwnJQsKVh65rxChHfkAJ1WEoX0lUbEM9Veyof4W+xLEgf45eDNvG3fz2y11D2qcvJNckVdvaYIWFwVrefcmofnQvLoWhs8gs6tLBKxaieZ4DcKH+Q5ux+t2VT8LYOR6gkCzuBgUbGUB+AlfCrNR2T7H3LLONIbUMB8/3sF0+oojj9tXPoagHzmwL2gnE7esLxIXc90LbAMpzLwMDvOgA8YEIsgKKtM92BqMK3Pv2clDv+Wmu8Al/QOU8v4Zj5dF09pqa8VM95xPx8t5Harrz+AN6HhZtzoqceooCBtJaGDb5jRdIjWtg4LkJN82mMuNAcbTLUotWp9UxJyqiS+WLrF4cIjPBoq9AAay8XnqLJHpjLGq2Mfp8i9qRFJPr7m2a1WozUUL5/s8Fb7oVOm6rYodXP3ZrdF+0OFMMKoaMfxOg2IhKRIk+S6XYp64i8J4lOFJ0W0dg0ap+f3PsWTYaA7YQ+/SMSv0zsZdrprT80i/Mx5F5HjiljX6GDmanZCdEG1b2a8=
WIP: Fix for #312 - Add electron-packager to create release binaries (#316) * Add electron-packager dependency * Update package.json & plan * Update electron builder dependency * Update build directory to be lib * Add appveyor.yml * Add npm build command * Add setup artifacts * Add ico * Add dist command * Add icon files * Update appveyor and ico * add installerIcon * Add appveyor build status to README * Fix ignore filter * Update to use ia32 build for electron * Add setup file * Change from lzma2 to zip * Create setup template * Update setup name to include version * Fix ordering of dist/pack * Create SourcePath concept * Add paths for wizard image files * Add images for setup * Move some dependencies to dev dependencies if they are bundled via webpack * Update PLAN * Add zip file * Include osx binaries * Save zip file as well * Update naming * Updates for consistent naming * Try out Github provider for appveyor * Add secure auth token * Update * Add artifacts for OSX in .travis.yml * Run 'npm run dist' command * Add common pack command from linux & osx * Add trusty dist and sudo required for travisci * Try trusty another way * Only upload DMG for osx * Try matrix include again * Try moving some times around * Remove extra line * More tweaks * Additional apt packages * Try other targets for Linux * Update targets * Update package: * Add linux icons * Update package.json * Update targets for build * Add snapcraft to travis.yml * Stick with just .deb, .rpm, and .tar.gz for now * And linux release for the deb/rpm/tar.gz packages * Move npm provider after releases provider * Remove prepublish script * Remove CRLF dependency * Add 'osx' and 'linux' to package names to disambiguate * Add missing '$' * Remove PLAN.md as it is complete
2017-03-31 23:58:14 +02:00
file_glob: true
file:
- dist/*.dmg
- dist/*.zip
WIP: Fix for #312 - Add electron-packager to create release binaries (#316) * Add electron-packager dependency * Update package.json & plan * Update electron builder dependency * Update build directory to be lib * Add appveyor.yml * Add npm build command * Add setup artifacts * Add ico * Add dist command * Add icon files * Update appveyor and ico * add installerIcon * Add appveyor build status to README * Fix ignore filter * Update to use ia32 build for electron * Add setup file * Change from lzma2 to zip * Create setup template * Update setup name to include version * Fix ordering of dist/pack * Create SourcePath concept * Add paths for wizard image files * Add images for setup * Move some dependencies to dev dependencies if they are bundled via webpack * Update PLAN * Add zip file * Include osx binaries * Save zip file as well * Update naming * Updates for consistent naming * Try out Github provider for appveyor * Add secure auth token * Update * Add artifacts for OSX in .travis.yml * Run 'npm run dist' command * Add common pack command from linux & osx * Add trusty dist and sudo required for travisci * Try trusty another way * Only upload DMG for osx * Try matrix include again * Try moving some times around * Remove extra line * More tweaks * Additional apt packages * Try other targets for Linux * Update targets * Update package: * Add linux icons * Update package.json * Update targets for build * Add snapcraft to travis.yml * Stick with just .deb, .rpm, and .tar.gz for now * And linux release for the deb/rpm/tar.gz packages * Move npm provider after releases provider * Remove prepublish script * Remove CRLF dependency * Add 'osx' and 'linux' to package names to disambiguate * Add missing '$' * Remove PLAN.md as it is complete
2017-03-31 23:58:14 +02:00
skip_cleanup: true
on:
condition: $TRAVIS_OS_NAME = osx
tags: true
repo: onivim/oni
WIP: Fix for #312 - Add electron-packager to create release binaries (#316) * Add electron-packager dependency * Update package.json & plan * Update electron builder dependency * Update build directory to be lib * Add appveyor.yml * Add npm build command * Add setup artifacts * Add ico * Add dist command * Add icon files * Update appveyor and ico * add installerIcon * Add appveyor build status to README * Fix ignore filter * Update to use ia32 build for electron * Add setup file * Change from lzma2 to zip * Create setup template * Update setup name to include version * Fix ordering of dist/pack * Create SourcePath concept * Add paths for wizard image files * Add images for setup * Move some dependencies to dev dependencies if they are bundled via webpack * Update PLAN * Add zip file * Include osx binaries * Save zip file as well * Update naming * Updates for consistent naming * Try out Github provider for appveyor * Add secure auth token * Update * Add artifacts for OSX in .travis.yml * Run 'npm run dist' command * Add common pack command from linux & osx * Add trusty dist and sudo required for travisci * Try trusty another way * Only upload DMG for osx * Try matrix include again * Try moving some times around * Remove extra line * More tweaks * Additional apt packages * Try other targets for Linux * Update targets * Update package: * Add linux icons * Update package.json * Update targets for build * Add snapcraft to travis.yml * Stick with just .deb, .rpm, and .tar.gz for now * And linux release for the deb/rpm/tar.gz packages * Move npm provider after releases provider * Remove prepublish script * Remove CRLF dependency * Add 'osx' and 'linux' to package names to disambiguate * Add missing '$' * Remove PLAN.md as it is complete
2017-03-31 23:58:14 +02:00
- provider: releases
api_key:
2018-09-29 04:17:56 +02:00
secure: qB2KX7c9gRf9HDNetUVJOSa1Lo81QJiukOChOEzGUkYzD/et/2uNgzl0AQX0jB6aOYNwtZAxTd/ON3TTbEWh90o+R1PmQUgQCZ8xIFjOwnQmuHFp4hHoOWNI/ahmQ3W5UD+gmkV5YTRDMfuNnRjraDcQ5R6744Gii4zHGBwnJQsKVh65rxChHfkAJ1WEoX0lUbEM9Veyof4W+xLEgf45eDNvG3fz2y11D2qcvJNckVdvaYIWFwVrefcmofnQvLoWhs8gs6tLBKxaieZ4DcKH+Q5ux+t2VT8LYOR6gkCzuBgUbGUB+AlfCrNR2T7H3LLONIbUMB8/3sF0+oojj9tXPoagHzmwL2gnE7esLxIXc90LbAMpzLwMDvOgA8YEIsgKKtM92BqMK3Pv2clDv+Wmu8Al/QOU8v4Zj5dF09pqa8VM95xPx8t5Harrz+AN6HhZtzoqceooCBtJaGDb5jRdIjWtg4LkJN82mMuNAcbTLUotWp9UxJyqiS+WLrF4cIjPBoq9AAay8XnqLJHpjLGq2Mfp8i9qRFJPr7m2a1WozUUL5/s8Fb7oVOm6rYodXP3ZrdF+0OFMMKoaMfxOg2IhKRIk+S6XYp64i8J4lOFJ0W0dg0ap+f3PsWTYaA7YQ+/SMSv0zsZdrprT80i/Mx5F5HjiljX6GDmanZCdEG1b2a8=
WIP: Fix for #312 - Add electron-packager to create release binaries (#316) * Add electron-packager dependency * Update package.json & plan * Update electron builder dependency * Update build directory to be lib * Add appveyor.yml * Add npm build command * Add setup artifacts * Add ico * Add dist command * Add icon files * Update appveyor and ico * add installerIcon * Add appveyor build status to README * Fix ignore filter * Update to use ia32 build for electron * Add setup file * Change from lzma2 to zip * Create setup template * Update setup name to include version * Fix ordering of dist/pack * Create SourcePath concept * Add paths for wizard image files * Add images for setup * Move some dependencies to dev dependencies if they are bundled via webpack * Update PLAN * Add zip file * Include osx binaries * Save zip file as well * Update naming * Updates for consistent naming * Try out Github provider for appveyor * Add secure auth token * Update * Add artifacts for OSX in .travis.yml * Run 'npm run dist' command * Add common pack command from linux & osx * Add trusty dist and sudo required for travisci * Try trusty another way * Only upload DMG for osx * Try matrix include again * Try moving some times around * Remove extra line * More tweaks * Additional apt packages * Try other targets for Linux * Update targets * Update package: * Add linux icons * Update package.json * Update targets for build * Add snapcraft to travis.yml * Stick with just .deb, .rpm, and .tar.gz for now * And linux release for the deb/rpm/tar.gz packages * Move npm provider after releases provider * Remove prepublish script * Remove CRLF dependency * Add 'osx' and 'linux' to package names to disambiguate * Add missing '$' * Remove PLAN.md as it is complete
2017-03-31 23:58:14 +02:00
file_glob: true
file:
- dist/*.deb
- dist/*.rpm
- dist/*.tar.gz
skip_cleanup: true
on:
condition: $TRAVIS_OS_NAME = linux
tags: true
repo: onivim/oni