mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-16 02:14:12 +03:00
112b78f48c
* 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.
40 lines
743 B
YAML
40 lines
743 B
YAML
jobs:
|
|
include:
|
|
- stage: "Test"
|
|
name: "Lint"
|
|
language: node_js
|
|
node_js: 8
|
|
script:
|
|
- npm run jsonlint
|
|
- npm run svglint
|
|
- name: "Build website"
|
|
language: ruby
|
|
rvm: 2.4.1
|
|
install:
|
|
- gem install jekyll
|
|
script:
|
|
- jekyll build
|
|
- name: "Test package"
|
|
language: node_js
|
|
node_js: 8
|
|
script:
|
|
- npm run test
|
|
|
|
- stage: deploy
|
|
name: "NPM Package"
|
|
language: node_js
|
|
node_js: 8
|
|
if: branch = master
|
|
|
|
deploy:
|
|
provider: npm
|
|
email: "johanringmann@gmail.com"
|
|
api_key: "$NPM_KEY"
|
|
on:
|
|
branch: master
|
|
|
|
notifications:
|
|
email:
|
|
on_success: never
|
|
on_failure: change
|