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