Guest User

Untitled

a guest
Sep 10th, 2014
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. 1. Create a new repository on Github
  2. 2. Go to Netbeans, Team > Clone
  3. 3. Clone the project
  4. 4. Temporarily remove files from created project directory
  5. 5. Create project in same folder
  6. 6. Copy back removed files
  7. 7. Copy over default Travis CI files (.travis.yml, upload_binaries.sh) (found in skiwi2/TCG)
  8. 8. Create a pom.xml (base it on default one found in skiwi2/TCG)
  9. 9. Set variables in upload_binaries.sh and pom.xml
  10. 10. Go to Github, Account Settings > Applications
  11. 11. Create a new Personal Access Token
  12. 12. Name it Travis Releases Autoupdater (projectname)
  13. 13. Give it repo, user and gist rights
  14. 14. Generate token
  15. 15. Copy token
  16. 16. Go to Travis CI, and flip the switch on for your repo, press Sync Now if needed
  17. 17. Install Ruby and Travis gem, tutorial can be found somewhere on Travis
  18. 18. Open up command prompt
  19. 19. Type "travis encrypt GH_TOKEN=yourcreatedtoken -r githubusername/projectname", this will encrypt your private Github key with your public Travis key
  20. 20. Paste the output in .travis.yml under env: global:
  21. 21. Add "[![Build Status](https://travis-ci.org/skiwi2/MovieDB.svg?branch=master)](https://travis-ci.org/skiwi2/MovieDB?branch=master)" with your own user/repo name in the readme
  22. 22. Fix your .gitignore
  23. 23. Push your first commit
Advertisement
Add Comment
Please, Sign In to add comment