Commit Graph

42 Commits

Author SHA1 Message Date
Bryan Phelps 1987c9fb06
Update travis API key (#2595) 2018-09-28 19:17:56 -07:00
Bryan Phelps f3abb23621
Travis: Roll back yarn to an earlier version (#2589)
* Try rolling back yarn to older version

* Try alternate way to downgrade yarn

* Bring back yarn install call

* Try removing version of yarn that gets picked up over the npm installed version
2018-09-27 18:29:59 -07:00
Ryan C 2546fd3fa9
CI Server Updates (#2346)
* Update the CI process killing to run on both Nvim and Oni.

* Tiny tidy up.

* Try adding before_install step to Travis.

* Swap CheckBinariesForBuild check to include both Windows and Mac.

* Only do a screenshot for master builds.

* Test Linux builds against Nvim 0.3.0.

Bring it inline with the Mac + Windows Binaries.

* Try killing chromedriver too.

* Reduce test wait time to be inline with commandline flag.

* Add macOS 10.11 config.

* Allow the 10.11 build to fail for now.

Should help this get merged, so the other changed can be benefited from.
2018-07-05 11:41:48 +01:00
Bryan Phelps efde3d2314
Build: Split travis build steps to improve reliability (#1889)
* Split travis build steps to improve reliability

* Add pack to a travis script

* Move pack step to script

* Remove specified timeout from travis_wait

* Add executable permission to scripts

* Fix up shell scripts for linux

* Rebuild unit test files prior to running code coverage

* Initialize display driver prior to running unit tests

* Add display driver back to integration test too

* Move all tests to same script
2018-03-22 21:23:28 -07:00
Bryan Phelps 0b7bede7b2
Build: Increase timeout of dmg packing on OSX (#1861)
* Add 'travis_wait' command to increase timeout of dmg packing

* Add comment in shell script

* Move travis_wait to yaml

* Bring back removed 'pack'
2018-03-20 10:57:13 -07:00
Bryan Phelps 93f2492466
Build: Upload master bits to azure (part 1) (#1850)
* Get script working

* Upload master bits to azure

* Gate uploading on master build

* Remove s3_dist upload in travis.yml

* Upload master bits via travis, too

* Remove S3 provider for appveyor
2018-03-19 13:37:01 -07:00
Bryan Phelps 766fc30133
Automation for Reason (#1189)
* Fix typo in default configuration

* Add create reason project script

* Upgrade to ocaml-language-server@1.0.16

* Upgrade bs-platform to 2.1.0

* Add completion log

* Add reason autocompletion test

* Move reason autocompletion test to OSX-only for now

* Delete script because it now lives in the CiTest

* Fix configuration error caught by test, breaking ocaml-language-server in dist builds

* Fix lint issues in test file

* Install bs-platform prior to build

* Install the reason cli tools instead of bs-platform

* Add logging for ocamlmerlin location

* Try using NODE_VERSION environment variable

* Fix merge conflict in build script

* Make sure OSX tests are run...

* Run missed tests

* Factor reason installation to a separate script, and update to use the 3.1.0 build

* Set executable permission on install-reason.sh
2018-03-10 08:25:47 -08:00
Bryan Phelps 950c9a9ba2
Add script to explicitly check cached binaries, and copy if necessary (#1606) 2018-02-22 18:32:15 -08:00
Bryan Phelps f48c1311b2
Remove cache completely (#1595) 2018-02-21 19:08:46 -08:00
Bryan Phelps 9ae011d6d6
Tweak caching logic for binaries (#1592) 2018-02-21 13:29:37 -08:00
Bryan Phelps 327f80bbff
Code Coverage: Upload from script (#1519)
* Log additional coverage info, move reporting into script to avoid cleanup issues

* Fix typo in build script
2018-02-11 10:34:52 -08:00
Bryan Phelps d794db5652
Fix issues generating lcov (#1512) 2018-02-11 08:13:52 -08:00
Bryan Phelps 99f51fa422
Set branch name for uploads (#1480) 2018-02-08 13:52:38 -08:00
Bryan Phelps 767ea3f1a4
Add script to copy packed files to s3_dist folder (#1476) 2018-02-08 10:37:49 -08:00
Bryan Phelps ca94a25884
Fix 'file' section in travis.yml (#1472) 2018-02-07 15:55:15 -08:00
Bryan Phelps 53622ac8ac
Update AWS key for media uploads (#1462)
* Update access key to use IAM user

* Update tokens

* Update keys, add S3 deploy strategy

* Fix up appveyor yml
2018-02-07 10:00:19 -08:00
Bryan Phelps a43dfff733
Enable OSX builds again (#1369) 2018-01-26 10:56:36 -08:00
Bryan Phelps 3a5fd9db60
Automation: Temporarily remove OSX strategy until TravisCI issues are resolved (#1337)
* Temporarily remove OSX, until TravisCI issues are resolved

* Removing code coverage until builds are stabilized
2018-01-22 13:24:51 -08:00
Bryan Phelps 208045af7b
[WIP] Enable code coverage via 'nyc'/'istanbul' (#1279)
* Some work to enable code coverage

* Update commands

* Split out test build

* Integrate code coverage in build pipeline

* Add coveralls + build step to report coverage

* Add code coverage badge

* Remove 'include' argument

* Fix coveralls report path
2018-01-16 09:09:23 -08:00
Tal Amuyal 1c54d039ed Markdown preview (#922)
* Start bringing over bounds detection

* Add detection for window bound cases

* Update window navigation bindings

* Add window-manager definition

* Initial prototype of WindowManager API

* Add marked

* Initial markdown preview plugin

* Add typescript file

* Remove index.js from lib

* Get markdown preview renderer hooked up

* Get marked rendering

* Add buffer entered, buffer changed events to Editor interface

* Start porting over interface to editor

* Plumb through onBufferEntered, onBufferChanged events

* Add additional editor events

* Add tsconfig

* Revert travis branch change, as it prevents artifacts

* Make plugin error message visible

* Remove test code

* Fix WindowManager API

* Add building of Markdown-preview plugin

* Fix .gitignore exclusion of libs

* A step towards implementation

* Open on startup a split with a generated Markdown

* Hook up on-buffer-enter trigger

* Some tweaks to get markdown preview showing

* Cleanup

* Hookup onBufferChanged event and set pane open, close and toggle commands

* Make Markdown pane scrollable

* Fix mis-meging

* Test onBufferScrolledEvent

* Remove unused 'require'

* Add initial implementation for auto-scrolling

* Use an official version of oni-api in the markdown-preview plugin

* Sanitize Markdown preview using DOMPurify

* Set "onBufferScroll" event to fire for 'G', 'gg' and searches when appropiate

* Expose colors in the API

* Set the Markdown-previews OniApi package version to Onis

* Fix the Mardkown-preview's background and foreground colors

* Hide the Markdown-preview plugin behind a false-defaulted experimental.markdownPreview.enabled flag

* Remove unneeded "export"-s

* Fix build errors

* Restore missing piece in .travis.yml

* Undo unintended changes

* Fixes to unblock 922 pull request

* Try working around CI build error
2017-12-20 07:21:00 -08:00
Bryan Phelps d758642036
Automate demo video on website (#862)
* Refactor out to test/common

* Fix issues running integration tests

* Restore tests

* Add HeroDemo + DemoTest file

* Disable demo, enable screenshot test

* Add screenshot

* Add demo files

* Add hack to hook alert to know when test is completed

* Fix linting

* Fix stuff deleted in merge

* Fix some issues with the test

* Update screenshot to be named per platform, and add as artifact tow indows build too

* Run demo screenshot generation

* Stabilize test

* Get better logging

* Disable demo on OSX for now, since it still needs to be stabilized

* Try bumping out timeout, to see if there is a timing issue with getting the results
2017-12-01 18:11:03 -08:00
Bryan Phelps 105c707d15
Build: Bring back node_modules caching in TravisCI (#971)
* Bring back node-modules caching, in hopes that we won't need to download the binaries as frequently

* Bump version of oni-neovim-binaries to use cached binary

* Add verbose logging, to see if binaries actually downloaded, or if they were brought in via caching

* Remove verbose flag
2017-11-17 18:35:42 -08:00
Bryan Phelps 8ec57ebbf5
Investigate using `yarn` for more reliable installs on CI machines (#954)
* Try using yarn for more reliably dependency installation

* Bump react-redux types

* Fix some compile issues due to different versions of typings

* Fix lint issue

* Add yarn cache for appveyor

* Add yarn cache for travis
2017-11-15 16:20:42 -08:00
Bryan Phelps c02157b86f
Use downloaded binaries instead of checking-in Neovim binaries (#875)
* Remove checked-in neovim binaries

* Update neovim binary path

* Bump oni-neovim-binaries version

* Fix neovim binary path

* Fix path on OSX

* Bump node version

* Bump node version in travis

* Bump oni-neovim-binaries dependency to pick up the 0.2.1 binaries

* Add integration testing to Linux

* Add display parameters to test

* Add linux path

* Install neovim for testing on Ubuntu build machine

* Revert linux path to nvim

* Add nvim version output

* Fix typo in script

* Add --assume-yes

* Revert packaged binary change for now

* Revert travis-build
2017-11-08 12:45:29 -08:00
Bryan Phelps 448d537c7d
Add node_modules caching (#865) 2017-11-03 17:00:56 -07:00
Bryan Phelps 092bff7c09
Update build configuration and README.md (#863)
* Update .appveyor and travis

* Update references from bryphe/oni -> onivim/oni
2017-11-03 13:17:37 -07:00
Bryan Phelps bc5dc95934 Merge 0.2.10 build fixes to master (#743)
* Regenerate appveyor access token for artifacts

* Update .travis.yml to pick up proper repo path, and update entries in package.json

* Update package repo path

* Update appveyor settings

* Update travis-ci keys

* Revert branch whitelist, since that seems to break tags from being picked up

* Bump version for release branch

* Update 0.2.9 -> 0.2.10

* Update README with correct builds

* Revert .travis.yml change
2017-10-02 16:48:32 -07:00
Bryan Phelps 48f90dbe25 Limit concurrent travis builds for PRs (#720)
* Update travis.yml to only build master

* Add release builds to branch pattern
2017-09-26 18:19:59 -07:00
extr0py 8913b80a8a Integrate 'keyboard-layout' npm module and additional diagnostic logging (#715)
* Initial logging enhancements for input resolution

* Clamp keyboard dependency

* Add 'keyboard-layout' package

* Pin electron-rebuild dependency version

* Remove unnecessary tslint:disable-line

* Fix lint issues

* Add additional packages required to compile keyboard-layout on linux

* Make minimal change to .travis.yml

* Update README.md with pre-reqs for building
2017-09-25 13:46:30 -10:00
extr0py afad4235b3 Update .travis.yml to properly publish OSX zip (#709) 2017-09-14 05:33:03 -07:00
extr0py 6658060bd4 Remove Omnisharp dependency, extract to separate plugin (#606)
* Remove omnisharp-client as a dependency

* Remove oni-plugin-csharp from default plugins

* Add warning if no activate method in plugin

* Clean up documentation around C#, redirect to plugin

* Remove caching of node_modules folder

* Package runtime dependencies

* Fix missing comma
2017-08-12 17:58:37 -07:00
extr0py d29473e056 Fix #298 - Initial spectron validation (integration tests) (#439)
* Bring in spectron as a development dependency

* Create initial launch test

* Run unit tests as part of appveyor build

* Fix naming of npm commands in script

* Move tslint.json to root

* Add lint and fix lint errors

* Update integration test command to include timeout

* Update path for darwin build

* Update LaunchTest with Linux path

* Set travis display

* Split unit/integration test for .travis.yml

* Remove install/test from shell script

* Fix tslint error

* Update set-travis-display permission

* Pick out correct path for Linux based on arch

* Update set-travis-display

* Move set-travis-display.sh -> travis-build.sh

* Use travis-build.sh to conditionally run tests only on OSX
2017-05-03 09:33:02 -07:00
extr0py 9f397a2867 Add node_modules caching for CI builds (#441)
* Add appveyor caching

* Update .travis.yml with cache option
2017-05-03 08:30:33 -07:00
extr0py 78fce58d2a Add zip package to OSX (#417)
* Add zip package to OSX

* Add zip to travis yml

* Update OSX zip strategy to pick up binary correctly

* Add publish:never flag to build command line so that we don't use the electron-builder publish strategy, which defaults to pushing in CI for updates
2017-05-03 07:05:31 -07:00
extr0py daf2b50650 Remove npm deploy from .travis.yml (#348) 2017-04-03 12:43:32 -07:00
extr0py 1205049d4a v0.2.1 (#339)
* Add lib_test ignore

* Fix build steps in appveyor

* Add skip_cleanup true to prevent removing node_modules for npm install

* Bump version for recovery
2017-04-02 09:29:38 -07:00
extr0py 9dc9be39e7 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 14:58:14 -07:00
extr0py 704262f6c4 Update .travis.yml for multiple platforms (#320) 2017-03-23 08:13:27 -07:00
extr0py 6f6db7026b [WIP] Fix for #171 - Replace IPC for plugins with in-proc messaging to improve performance (#212)
* Use sandbox to instantiate modules

* Move plugin_api into browser

* Continue in-proc refactoring

* Get in-proc channel plugin working

* Factor interface upwards

* Fix errors that came up, and improve performance of AutoCompletion tsx by throttling entries again

* Move default language plugin to example

* Make tslint plugin work asynchronously

* Some tslint cleanup, plus first round of fixes

* Fix first round of tslint errors

* Fix additional tslint issues

* Start fixing up tests

* Fix remaining tests / lint issues

* Some additional refactoring in preparation for fixing the plugin broadcast issue

* Remove debugging flag from package.json

* Remove debug plugin argument, since all plugins are inherently debuggable in the in-proc strategy

* Continue adding tests to formalize the channel layer

* Add tests for plugin metadata parser

* Get capabilities tests passing

* Update channel to respect filter

* Fix whitespace

* Replace pipeline with new strategy

* Fix signature-help and completions

* Fix formatting regerssion

* Fix regression with live evaluation

* Fix lint issues
2017-02-19 14:55:41 -08:00
extr0py fc23ebd29e Fix TravisCI api_key 2016-12-20 06:55:28 -08:00
extr0py f776a87ea8 Set up auto-deploy for TravisCI 2016-12-20 06:39:44 -08:00
extr0py 1b6c2d995a Update build, add .travis.yml for travisci 2016-11-23 17:29:12 -08:00