This workshop will be retired on May 1, 2025.
Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Continuous Integration with Java using Travis CI!
Preview
Video Player
00:00
00:00
00:00
- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Let's walk through how some features and get you all setup for Travis CI.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Okay, so here I am at Travis dash ci.org,
0:00
and you will see here on this very nice
website that they are gonna get us to test
0:05
and deploy with confidence and this is one
of those times where it's really true.
0:10
We are going to be able to get up and
running in just a few minutes.
0:15
So let's take a quick look down this page,
it shows us some cool stuff,
0:18
some counters,
awesome projects using this thing.
0:22
It's always free for
open source projects and
0:25
that's something that is super
cool about this product.
0:28
Like always,
they really are committed to it and
0:31
it does some powerful things
which we'll see here in a bit.
0:33
And that's not it.
0:36
If you are working on a private project,
you can also go ahead and
0:37
get a plan that will be for enterprise.
0:41
Pretty cool.
0:44
Okay, some awesome features here.
0:45
I really love the slack and
email integration.
0:46
You get a brand new VM, a virtual machine
every single time you run one of these
0:50
your test can run in parallel.
0:54
It's got a great API, again,
it's free for open source.
0:56
They do a great job here explaining
exactly what happens, right?
1:00
So you push your code to GitHub.
1:03
And GitHub says hey Travis CI,
I need you to build my things.
1:04
Travis CI tells us, hey it's working.
1:07
And then you can choose if you want to to
deploy it, like someplace like Herod.So
1:10
then your servers up and running and then
it shoots a slack message to your team so
1:14
you know,
hey the new build's up and running.
1:18
Go get it, pretty cool.
1:20
This one is really powerful for us.
1:22
So you make a pull request and
GitHub says hey Travis CI,
1:24
this might be able to be merged in.
1:28
Can you go ahead and run the test and see
what would happen on a successful merge?
1:30
It says it's correct.
1:33
It says it passed and
then you get notified and
1:35
you're ready to merge in your PR.
1:37
We'll go through both of these flows.
1:39
Not all the way to deploying but we'll go
through the notification process here.
1:41
And let me show you the sign
up flow really quick.
1:46
It's super easy.
1:48
So you click the Sign Up button here.
1:50
Now, I already have signed up, but it's
gonna ask for your GitHub credentials.
1:51
It's gonna walk through exactly what
you need to do to make things work.
1:56
So you will first activate your GitHub
repositories and you'll do that.
1:59
It'll show you a list of
all of the repositories.
2:04
We'll look at that here in a second.
2:06
And you just choose which ones you want.
2:08
Then you add this YAML file and YAML
stands for Yet Another Markup Language.
2:10
We'll walk through that really briefly,
and then we'll go ahead and
2:15
we'll trigger a GitPush to make it go.
2:19
So if you come up here
under your Accounts,
2:22
you'll see here's where
you flip the things on.
2:26
So let's go ahead, and
I've got a project for this course.
2:29
Let's go ahead and
start we'll fork that project and
2:32
then we'll get this up and working here.
2:34
Sound good?
2:36
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up