YasuakiHonda / Maxima-on-Android-AS

Maxima on Android imported to Android Studio
23 stars 13 forks source link

Add Travis CI integration #2

Open liushuyu opened 7 years ago

liushuyu commented 7 years ago

So you have asked in #1 if there's a easier way to review. Probably no, but there are some ways to assist you to review, such as what this PR will introduce. This Travis CI service will build your project on their server to see if it compiles each time when you push a commit or other contributor opens a PR. I helped you to write a check script (.travis.yml) in this PR, but to set up this service, you have to go to https://travis-ci.org to set up the repository (log in with your GitHub account). Here's a brief how-to:

  1. Login Travis CI with your GitHub account
  2. Go to https://travis-ci.org/profile and flip the switch next to this project to enable the service
  3. Go to the Settings of this repository (in GitHub, should be https://github.com/YasuakiHonda/Maxima-on-Android-AS/settings/installations of course I don't have access to this page, but I can deduce the URL :smile: ), and select Travis CI, then hit the Test Service button at the top-right corner, you should see Okay, the test payload is on its way.
  4. Now this service is installed, from then on, there will be a small icon next to each commit in GitHub indicating whether it builds or not.

This change is Reviewable