https://github.com/poetic/meteor-travis
Test to get meteor working with travis running eslint
https://github.com/poetic/meteor-travis
Last synced: 3 months ago
JSON representation
Test to get meteor working with travis running eslint
- Host: GitHub
- URL: https://github.com/poetic/meteor-travis
- Owner: poetic
- License: mit
- Created: 2016-02-17T02:54:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-17T06:04:31.000Z (over 9 years ago)
- Last Synced: 2025-01-24T17:14:29.466Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/poetic/meteor-travis)
# Setup Travis with PR integration in Meteor
First go to https://travis-ci.org/ and sign in with your GitHub account.
In the upper right corner click on your name (or choose Accounts) to open your Travis-ci profile.
You'll be presented with the list of your GitHub projects (only the ones where you have administrative authority)Choose organization and repo and toggle the integration on.
Then add a .travis.yml file to your repo.
Example yml with eslint
```
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '4.1.1'
before_install:
- npm i -g npm@^2.0.0
- npm install --save-dev eslint-config-airbnb eslint-plugin-react eslint@^1.0.0
before_script:
- npm prune
script:
- eslint . --ext .jsx
after_success:
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
```## To add the logo to the readme
```
[](your repo's travis link)
```