Commit graph

36 commits

Author SHA1 Message Date
Isiah Meadows
b17b00e9eb
Drop ESM support (#2366)
* Drop ESM support

* Add `"unpkg"` field
2019-05-29 09:24:10 -04:00
Isiah Meadows
0707de5867
Swap out keys so they use mine (#2393) 2019-03-09 02:04:30 -05:00
Isiah Meadows
e068bd421c Fix a couple missing files [skip ci]
Why does adding files have to be such a pain...?
2018-12-06 00:46:00 -05:00
Daniel Loomer
bcc6003bf3 make gandalf run build-esm fixes #2325 (#2326) 2018-12-04 12:20:28 -05:00
Isiah Meadows
b0030047a7 Update Travis script [skip ci]
- Update to use my API key
- Don't try to auto-publish pre-releases
2018-11-07 13:21:09 -05:00
Pierre-Yves Gérardy
4922912bbb [chore] remove Danger for now 2018-05-16 01:09:49 +02:00
Pat Cavit
45b69d4aca chore: run eslint --fix against commits (#1912) 2017-07-22 13:12:01 -07:00
Pat Cavit
bee11087af test: enable danger & tweak messaging 2017-07-21 23:19:08 -07:00
Pat Cavit
482f0e71b9 docs: readme rework (#1898) 2017-07-12 20:34:45 -07:00
Pierre-Yves Gérardy
0cd151b08a Merge pull request #1896 from tivac/travis-deps
Don't add travis-only deps to package.json
2017-07-12 18:09:26 +02:00
Pat Cavit
2182a629b2 chore: remove unnecessary branch fields (#1897) 2017-07-11 23:38:27 -07:00
Pat Cavit
57471ddcff chore: don't add travis-only deps to package.json
`npm@5` changed to save-by-default, which screwed up the plan of keeping travis-only deps out of `package.json`.

Fixes #1894
2017-07-11 22:15:27 -07:00
Pat Cavit
5660637e30 docs: new repo refs and build tweaks 2017-05-02 13:12:00 -07:00
Pat Cavit
35bcec12cd chore: better commit message 2017-03-24 16:06:52 -07:00
Pat Cavit
a4f385a2bd chore: gh-pages needs git values set 2017-03-24 16:00:41 -07:00
Pat Cavit
d151f03a56 chore: fix up some travis failures 2017-03-24 15:53:02 -07:00
Pat Cavit
2d03dc5dad feat: partial integrate of release changes 2017-03-24 14:41:22 -07:00
Pat Cavit
d6a00831a0 docs: Document release process & reformat .travis.yml (#1541)
* style: re-format travis config for readability

* docs: document npm release process

Still needs GitHub release/change-log steps (I've never done it though)
2017-01-14 21:26:17 -08:00
Pat Cavit
59dfbf0afc refactor: multi-line things in bash are bonkers 2017-01-13 20:46:23 -08:00
Pat Cavit
8e72929f00 refactor: Attempt to silence a travis complaint 2017-01-13 20:42:04 -08:00
Pat Cavit
6c5ee2dafe refactor: also restrict submission to lhorie's repo 2017-01-13 20:37:49 -08:00
Pat Cavit
c7913f20a4 refactor: invert travis check, early-out blows up
Not running within a script, so `exit 0` stops all processing which is
**NOT HELPFUL**.
2017-01-13 20:34:44 -08:00
Pat Cavit
3d379e0adb refactor: tags & branches are incompatible
So this would never actually publish, yikes.
2017-01-13 20:17:24 -08:00
Pat Cavit
74c6b3e97b refactor: Use Travis for npm publishing (#1538) 2017-01-13 20:08:36 -08:00
Pat Cavit
9406c905c0 Travis should lint & bundle before every build (#1441)
Linting doesn't break builds though, because @lhorie doesn't want that.
2016-11-30 11:51:10 -08:00
Pat Cavit
4f8dc68426 Improve travis commit message slightly (#1218) 2016-08-04 22:38:20 -07:00
Pat Cavit
56fbda9670 Move travis-scripts to be build-server only (#1215)
* Move travis-scripts to be build-server only
* Fix up conditional logic
2016-08-04 11:24:32 -07:00
Pat Cavit
2e70ca01f8 Set up repo for travis commits (#1210) 2016-08-04 09:58:28 -07:00
impinball
b4fb21475c Add editorconfig, resolve differences
This includes newlines, tabs, among other things.
2016-06-18 03:22:12 -04:00
Leo Horie
e50843f3bc setup CI 2016-04-21 10:19:04 -04:00
Leo Horie
13fdb60f66 clean slate 2016-04-20 20:01:04 -04:00
impinball
12b8f044f1 Convert tests to Mocha/Chai/Sinon and lint them.
Details:

1. All tests now live in `test`. All test dependencies that aren't from npm live
   in `test-deps`.

2. The QUnit tests are gone, as well as their dependencies. Half of them
   duplicated existing tests, and some of them depended on the real DOM to
   properly test.

3. All tests are now using Mocha to run the tests, Chai for assertions, and
   Sinon and Sinon Chai for testing some callbacks.

4. Tests are run through mocha-phantomjs. If you want to run just the tests,
   run `grunt mocha_phantomjs` or fire up a server in the root and open
   `http://localhost:<port>/test/index.html`, e.g. `python3 -m http.server`.

5. The linter I chose is ESLint. It is relatively easy to configure, but with a
   lot of flexibility. The rules I chose mostly were in tune to the style the
   project was already using. I'm not including a style guide in this commit,
   but one will likely come. You can check out the `.eslintrc` in the root and
   in `test/` for the two configs. The `.eslintignore` includes a TODO for
   `mithril.js` itself targeted at me, in the root.

Other info:

- As a drive-by fix, I fixed line endings on a few of the files.

- I also took care of a few other files and linted them as I went:

  - `Gruntfile.js`
  - `test/input-cursor.html` (was in `tests/`)
  - `test/svg.html` (was in `tests/`)
  - `docs/layout/tools/template-converter.html`
  - `docs/layout/tools/template-converter.js`

  I didn't test the template converter after linting it, because it needs
  further scrutiny to ensure it works with the latest version of Mithril. I
  know the API has changed a little, which is why I want to be sure.

- I simplified the `.travis.yml` file because none of the tests are run directly
  through Node anymore. They are always run in a browser of some kind.

Hopefully, this turned out all right...
2015-10-31 11:07:22 -04:00
philtay
7278e0ded5 Test against Node.js 0.12 and 4.1 2015-10-18 01:24:33 +02:00
Casey Webb
b542bdad3a Use modern TravisCI platform
@see http://docs.travis-ci.com/user/migrating-from-legacy/?utm_source=legacy-notice&utm_medium=banner&utm_campaign=legacy-upgrade
2015-10-10 11:04:22 -04:00
Sergey Kirillov
29eb6128fe Updated Travis CI config to run e2e tests 2014-05-28 23:46:09 +03:00
Eirik S. Morland
a8d6f529d5 Make tests throw exception, add travis-ci integration.
Relates to #23.
2014-03-23 08:42:15 +01:00