1
1
mirror of https://github.com/primer/css.git synced 2024-11-28 04:43:05 +03:00
css/.travis.yml
2017-07-07 13:46:42 -07:00

40 lines
1.2 KiB
YAML

language: node_js
node_js:
- '7'
env:
global:
- COMMIT=${TRAVIS_COMMIT::8}
- TEST_DIR=modules/primer-css
- TEST_DIR=modules/primer-core
- TEST_DIR=modules/primer-product
- TEST_DIR=modules/primer-marketing
- TEST_DIR=modules/primer-alerts
- TEST_DIR=modules/primer-base
- TEST_DIR=modules/primer-blankslate
- TEST_DIR=modules/primer-box
- TEST_DIR=modules/primer-breadcrumb
- TEST_DIR=modules/primer-buttons
- TEST_DIR=modules/primer-cards
- TEST_DIR=modules/primer-forms
- TEST_DIR=modules/primer-labels
- TEST_DIR=modules/primer-layout
- TEST_DIR=modules/primer-markdown
- TEST_DIR=modules/primer-marketing
- TEST_DIR=modules/primer-marketing-type
- TEST_DIR=modules/primer-marketing-utilities
- TEST_DIR=modules/primer-navigation
- TEST_DIR=modules/primer-page-headers
- TEST_DIR=modules/primer-page-sections
- TEST_DIR=modules/primer-support
- TEST_DIR=modules/primer-table-object
- TEST_DIR=modules/primer-tables
- TEST_DIR=modules/primer-tooltips
- TEST_DIR=modules/primer-truncate
- TEST_DIR=modules/primer-utilities
script: cd $TEST_DIR && npm install && npm test
deploy:
provider: script
script: cd $TRAVIS_BUILD_DIR && echo "$(npm show primer-css version)-commit.$COMMIT"
on:
all_branches: true