Fixed Travis build

in #utopian-io7 years ago (edited)

Screenshot from 2017-12-26 12-50-50.png

This is Cmatrix, an opensource project whose website is cmatrix it's supercool matrix like screenlines scrolling from window, it's Made under 1 night by Chris Allegretta in 2000 while i was going through its repo i found a beginner issue

As a beginner in the Open source this was my chance, i never had implemented travis CI myself.. just heard the rumours :) If you want to know about Travis Click here

Travis CI is part of DevOps ( Development + Operation)

TL;DR :- Basically Travis is a Continuous Integration service which automatically Tests, Builds,Compiles your application on Every push/Commit/PR merged ect.
It makes Developer job easy and less tiring.

and this issue was pretty clarifying So i jumped on it :D, i dig a little bit and found more about travis looked through the codebase

Steps to test your travis CI:-

  • Sign in to Click here
    1st

  • Click on sync
    2nd

  • Toggle and turn your Travis build ON
    3rd

  • Now finally, Just Add .travis.yaml

YAML stands for "YAML Ain't Markup Language" and it is used extensively in configuration files, YAML is to configuration what markdown is to markup

Helpfully the YAML file was already in the Repo
4th

But, It was not Building successfully. thankfully, the Travis Also provides you console outputs and logs for each build.
5th

6th

As we can see the error was in aclocal.m4 file.. The travis script uses aclocal.m4 file but it couldn't find it in the repo.After some more research i finally stumbled upon this Stack-overflow

I added the config's into the .travis.yaml file and triggered the rebuild.

screenshot from 2017-12-26 13-04-02

And as you can see the Travis build Passes successfully

screenshot from 2017-12-26 13-06-43

I know it's not a big issue, but as a starter, it made me feel pretty awsome to do it on my own and completed it within a few searches . I like Cmatrix alot and now i can say i contributed into the repo :D

Thanks!!



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Your contribution cannot be approved yet because it is not as informative as other contributions. See the Utopian Rules. Please edit your contribution and add try to improve the length and detail of your contribution (or add more images/mockups/screenshots), to reapply for approval.

You may edit your post here, as shown below:

You can contact us on Discord.
[utopian-moderator]

i read the guidelines, And edited the post with more information regarding the contribution.

Awesome, thank you for expanding on the content. Could you please fix the paragraphs (there are a lot of rogue newlines), and the extra space that prevented bolding here:

And as you can see the** Travis ** build Passes successfully

After that, your post is done. =)

Done!! Thank you for helping me with the post approval :)

No worries, but this:

This is Cmatrix,
an opensource project whose website is cmatrix it's supercool matrix like screenlines scrolling from window, it's Made under 1 night by Chris Allegretta in 2000
while i was going through its repo i found a beginner issue issue

still has rogue newlines. Also this:

And as you can see the ** Travis ** build Passes successfully

is not bolding properly due to the whitespaces. Have a look at the extra characters around your images too. A general cleanup will go a long way.

Yes, I see it! i corrected it. Sorry for troubling you so much on 1 single post

@dutch
hello sir, Is something wrong ?

Hey @sachincool I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • This is your first accepted contribution here in Utopian. Welcome!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x