diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..07e34990e7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +sudo: false +language: node_js +node_js: + - '8' + +notifications: + email: false + +cache: + yarn: true + directories: + - node_modules + +script: + - yarn lint + - yarn test + diff --git a/package.json b/package.json index 38d868ca50..391f4ad22a 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "build": "build-storybook -o .public", "start": "start-storybook -p 9002", "i18n:build": "mc-scripts extract-intl --build-translations --output-path=$(pwd)/i18n 'src/components/**/!(*.spec).js'", - "lint": "jest --projects jest.*.config.js", + "lint": "jest --projects jest.eslint.config.js jest.stylelint.config.js", "lint:js": "jest --config jest.eslint.config.js", "lint:css": "jest --config jest.stylelint.config.js", "format": "npm run format:js && npm run format:css & npm run format:md",