Commit Graph

9 Commits

Author SHA1 Message Date
Piotrek Żygieło
eb6fc0b3ce With bad xml travis should fail the build (#1112)
* With bad xml travis should fail the build

* Validate SVGs for being well-formed XMLs
2018-12-13 18:50:42 +01:00
Eric Cornelissen
046c5e8b45 Add "pretest" and "posttest" scripts 2018-09-11 13:32:16 +03:00
Eric Cornelissen
e6485072d2 Test the NPM package (#972)
* Implement basic test for the NPM package

Just an initial test suite that checks if all promised imports actually 
exist. The testing framework Jest was chosen because of it ease of setup 
and use.

* Implement exhaustive tests of properties for each icon
2018-09-09 21:58:53 +02:00
Eric Cornelissen
e414adecc9 Update the travis build to work in stages (#948)
* Update the travis build to work in stages

* Intentional "Build website" error

* Intentional "Lint" error

* Restore CI test errors

* Conditional deplay stage, only on master

So PRs targetting develop don't run an empty stage.

Related Travis Documentation:
https://docs.travis-ci.com/user/conditional-builds-stages-jobs/
2018-08-27 17:39:13 +02:00
Johan Fagerberg
289d1883a1 Add SVGLint (#922)
* Added SVGLint

* Added SVGLint to CI

* Upgraded Node version used by CI

* Upgraded SVGLint to latest version

* Moved SVGLint configuration file

* Upgraded SVGLint

1.0.1 -> 1.0.2
Adds support for globs on Windows

* Added SVGLint check for aria-labelledby and title ID
2018-08-16 11:33:32 +02:00
Eric Cornelissen
06a743b4ac Use matrix to split NodeJS and Ruby builds 2018-08-01 13:02:56 +02:00
Eric Cornelissen
e6263f703d Add page buid to CI script 2018-08-01 12:43:58 +02:00
Johan Fagerberg
7413e63a0c Add NPM publishing through Travis 2017-09-19 15:09:16 +02:00
Eric Cornelissen
b194931025 Add NPM script Travis configuration for jsonlint 2017-09-11 21:56:40 +02:00