1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-16 00:59:07 +02:00
Commit Graph

14 Commits

Author SHA1 Message Date
Eric Cornelissen
96a8ab301b Add Travis CI deploy step for release tags (#1558)
* Add sample Travis CI deploy step to tag commits on master and push that

TODO: should find the version number from ./package.json

* Get git name and email for tagging from env

* Extract current version number from manifest

Attempt...

* Update .travis.yml

Fix whitespace issue and command error

* Switch sed order and escape double qoutes

* Replace curly braces by parentheses

* Test deploy of release tag to GitHub

* Convert deploy back to script

And update actual deploy step commands

* Remove test deploy stage

* Fix api_key value and remove leftover configuration
2019-08-15 13:16:28 +02:00
Eric Cornelissen
16f3bcea12 Fix deploy failure due to missing node_modules
The deploy script failed in the last build[1] due to a missing 
dependency. Skipping cleanup prevents the node_modules from being 
deleted and the build script form failing.

I encountered this exact problem with simple-icons-font[2][3][4] and 
this fixed it.

For now I manually releaesd v1.12.0[5].

---

1. https://travis-ci.com/simple-icons/simple-icons/jobs/218315055#L547
2. https://github.com/simple-icons/simple-icons-font/pull/15
3. https://github.com/simple-icons/simple-icons-font/pull/17
4. https://github.com/simple-icons/simple-icons-font/pull/18
5. https://github.com/simple-icons/simple-icons/pull/1549
2019-07-23 07:01:11 +01:00
Eric Cornelissen
579d439e60
Lint file formatting (primarily whitespace) (#1349)
* Add editorconfig-checker and .editorconfig

* Fix wslint errors
2019-04-17 12:59:44 +03:00
Eric Cornelissen
112b78f48c
Update Travis CI build (#1348)
* Remove xmlstarlet from Travis CI "Lint" build

With https://github.com/birjolaxew/svglint/pull/6 merged some time ago, 
we no longer need xmlstarlet to verify that SVGs are valid XML. 
Essentially reverting the changes in #1112 and #1159

This should also make it easier for contributors to reproduce the build 
on their own machines, specifically if they don't use Linux.
2019-04-17 12:41:37 +03:00
Piotrek Żygieło
6409bdb648 Refine xmlstarlet options (#1159)
* print verbose error messages on stderr

* list only files which do not validate
2019-01-07 22:18:22 +01:00
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