Commit Graph

438 Commits

Author SHA1 Message Date
Rachel Fenichel
a82604d75c Update version number to 1.20190419.0-develop 2019-04-19 11:38:11 -07:00
Rachel Fenichel
ab5b734e5a Update version number 2019-02-15 17:07:09 -08:00
Rachel Fenichel
d13ee11d18 Update dependencies 2019-02-11 11:53:24 -08:00
Rachel Fenichel
6fefa49112 Bump version number on develop 2018-12-19 16:55:58 -08:00
Rachel Fenichel
817399a793 Bump version number on master 2018-12-19 14:29:54 -08:00
Rachel Fenichel
17ab169772 Fix bad version number 2018-12-14 17:23:11 -08:00
Rachel Fenichel
a272e52a86 Bump version to 1.20181214 2018-12-14 15:46:56 -08:00
Rachel Fenichel
b7446e195c Update dependencies 2018-12-14 12:42:03 -08:00
Rachel Fenichel
200afba1d0 Update version number 2018-10-30 10:47:17 -07:00
Rachel Fenichel
9a12e97b86 Update some dev dependencies 2018-10-29 16:58:29 -07:00
Andrew n marshall
705f06eb2c Bumping develop branch version to 1.20180904.0-develop 2018-09-04 15:49:10 -07:00
Andrew n marshall
098472376b Bumping develop version to 1.20180831.0-develop 2018-08-30 16:43:01 -07:00
Andrew n marshall
764d9e826d Updating NPM dependencies to latest available. 2018-08-28 11:35:15 -07:00
RoboErikG
a8bb9091bb Add support for eslint5 (#2009)
Fixes #2006

- Makes a copy of .eslintrc in .eslintrc.json
- Updates eslint rules to support eslint5.
- Changes travis to use eslint5
2018-08-20 14:42:57 -07:00
Andrew n marshall
1bd135c9a5 Updating NPM package version to 1.20180629.0-develop (#1962) 2018-07-02 12:34:03 -07:00
Andrew n marshall
51253f9787 Updating npm dependencies. (#1936) 2018-06-26 12:32:49 -07:00
Andrew n marshall
7886d24130 Fixing xml.js: Always throw XML I/O errors; Support parsing in Node (#1911)
* Improved Blockly.XML comments.
 * Support JSDOM as an alternate parser under Node.js
 * Throw standard errors instead of goog.asserts.
 * Adding textToDomDocument_ and override in gulpfile.
2018-06-12 14:03:10 -07:00
Andrew n marshall
9b8704f4bc Adding travis_fold logging around each test (#1879)
Replace individual .travis.yml commands and test_runner.js with tests/run_all_tests.sh, which manages the travis_fold statements and accumulating the output of all the test phases.

This script is now in charge of test_setup.sh (previously handled by npm pretest script). It also adds green/red color coding to each test section, based on success and failure.
2018-05-22 17:23:01 -07:00
Andrew n marshall
f2b6c9a948 Work in progress (Needed a Travis run) (#1869)
Fix advanced compilation on Travis
2018-05-16 14:16:02 -07:00
Andrew n marshall
9eb05c4ad3 Don't build upon npm install. (#1855)
Build depends upon ../closure-library, which is outside the usual
npm process. And since the library ships pre-built, just concatenate
the built files to make the node-ready version.
2018-05-15 14:45:22 -07:00
Andrew n marshall
1d55b90c2f Clean-up dependencies in package.json (#1853)
* Clean-up package.json dependencies.
* Updating to the latest version of closure and webdriverio.
2018-05-14 17:25:40 -07:00
Andrew n marshall
2e8c29de45 Adding gulpfile to build Node.js compatible library. (#1847)
The gulp file is derived from work in PR #887, with numerous
refinements and clarifying comments.

Also updating the version number in package.json, including the
'develop' prerelease tag for the develop branch.
2018-05-11 15:19:47 -07:00
Andrew n marshall
0ffd5dda18 Changing root script for tests under Node. (#1837)
* Changing root script for tests under Node.

Was: tests/jsunit/test_runner.js
Now: tests/test_runner.js

The webdriver & jsunit calls formerly in tests/jsunit/test_runner.js
are now in function runJsUnitTestsInBrowser, in
run_jsunit_tests_in_browser.js, called from tests/test_runner.js.

This makes room for additional tests under Node, such as headless and generator tests.
2018-05-02 12:19:49 -07:00
Andrew n marshall
446c1bbce4 Updateing Closure to 20180204.0.0 2018-02-14 16:15:43 -08:00
Rachel Fenichel
ee248d9596 Update eslint version 2018-01-25 12:44:38 -08:00
Neil Fraser
a4ec65d85d Improve support >ES5 and Node.
Adds ‘yield’ and ‘**’ to JS order list.
Build generates files (more) parsable by Node.
This PR should have no effect on existing code.
2018-01-25 11:47:11 -08:00
Rachel Fenichel
75d0798e4a Run eslint on travis 2017-11-10 14:16:47 -08:00
Neil Fraser
82705923cb Convert compile demo into a unit test. (#1360)
* Intentionally break Travis.

* Alphabetize tests, remove orphaned test, and add fail to test that's running.

* Unbreak test, disable OS X, move scripts, list compiler directory.

* Test Java, break test.

* Unbreak test, call compile script.

* Compile main_compressed.js

* Run test command using bash.

* Fix path.

* Exclude node modules.

* Be more specific about JS files to compile.

* Test failure.

* Restore OSX, undo Blockly failure, remove compilation demo, add compilation test.

* Delete manual test files.

* Ignore downloaded/generated files.

* Whitespace cleanup.
2017-10-12 14:54:57 -07:00
shirletan
23e5728ff4 use pretest instead of preinstall in package.json (#1043)
* cherry pick for pretest fix

* put pretest target to test_setup.sh

* fix conflict

* cherry pick for get_chromedriver.sh

* add some sleep to wait download to finish

* use node.js stable

* use npm test target
2017-04-13 15:23:48 -07:00
RoboErikG
a8da16036e Enable google/blockly with continuous build on travis ci (#1023) (#1035)
* create .travis for ci job

* initial checkin for blocky-web travis ci job

* rename file to .travis.yaml for typo

* remove after_script

* added cache

* rename .travis.yaml to .travis.yml

* Update .travis.yml

* include build script

* fix yaml file format issue

* debug install part

* debug build issue

* Update .travis.yml

* remove cache for now

* Update .travis.yml

* Update .travis.yml

* Update .travis.yml

* more debug info

* Update .travis.yml

* Update .travis.yml

* fix typo

* installing chrome browser

* remove chrome setting config

* run build.py as part of npm install

* Update .travis.yml

* update karma dependency

* use karma as test runner

* fix typo

* remove karma test for now

* Update .travis.yml

* Update package.json

* add npm test target

* add browserstack-runner depdendency

* update browser support

* fix typo for test target

* fix chrome typo

* added closure dependency

* add google-closure-library

* include blockly_uncompressed.js and core.js dependency

* uncomment out core/*.js files

* add kama job as part of install

* remove browserstack add on for now

* fix karma config typo

* add karma-closure

* add os support

* remove typo config

* include more closure files

* change os back to linux

* use closure-library from node_modules

* change log level back to INFO

* change npm test target to use open browser command instead of karma

* change travis test target to use open command instead of karma

* list current directory

* find what's in current dir

* typo command

* Update .travis.yml

* typo again

* open right index.html

* use right path for index.html

* xdg-open to open default browser on travis

* exit browser after 5s wait

* change timeout to 1 min

* exit after opening up browser

* use browser only

* use karma

* remove un-needed dependency

* clean up script section

* fix typo

* update build status on readme

* initial commit for selenium integration tests

* update selenium jar path

* fix test_runner.js typo

* add more debug info

* check java version

* add && instead of 9288

* fix java path

* add logic to check if selenium is running or not

* add some deugging info

* initial commit to get chromedriver

* add chromedriver flag

* add get_chromedriver.sh to package.json and .travel

* change browser to chrome for now

* fix path issue

* update chromdriver path

* fix path issue again

* more debugging

* add debug msg

* fix typo

* minor fix for getting chromedriver

* install latest chrome browser

* clean up pakcage.json

* use npm target for test run

* remove removing trailing comma

* fix another trailing comma

* updated travis test target

* clean up scripts

* not sure nmp run preinstall

* redirect selenium log to tmp file

* revert writing console log to file

* update test summary

* more clean up

* minor clean up before pull request

* resolved closure-library conflict

1. add closure-library to dependencies instead of devDependencies.
2. add lint back in scripts block

* fix typo (adding comma) in script section
2017-04-11 13:38:11 -07:00
Justin Geeslin
7b72dbf773 Use the npm closure library instead of the same library installed at a parallel directory 2017-01-10 23:02:26 -06:00
Immortalin
125ddf9d37 Update name for better compatibility 2015-11-15 13:19:32 +08:00
Neil Fraser
7a5580b3d3 Minor lints from PR 150. 2015-08-08 15:15:58 -07:00
Markus Bordihn
d1ff77824b Add basic lint options for npm
To use this linter, make sure npm is installed and execute the following
commands inside the main folder.

1.) Only once to update the package "npm install"
2.) To run the linter "npm run lint"

This would make it easier to clean up some of the code.
2015-08-03 20:34:07 +02:00
Markus Bordihn
b182482a4d Update package.json 2015-07-24 21:14:40 +02:00
Markus Bordihn
30f280ba37 Update package.json 2015-07-24 20:31:37 +02:00
Markus Bordihn
d6139e3ac6 Update package.json 2015-07-24 19:58:56 +02:00
Markus Bordihn
0e71d972d1 Create package.json 2015-07-24 19:51:44 +02:00