1
00:00:00,790 --> 00:00:05,650
In the last section we set up a get repository and get hub and our local machine and then we wired the

2
00:00:05,650 --> 00:00:06,520
two together.

3
00:00:06,760 --> 00:00:10,630
We're now going to start working on our Travis see-I integration with getup.

4
00:00:10,660 --> 00:00:12,760
Now we haven't spoken about Travis có too much.

5
00:00:12,790 --> 00:00:15,210
So let me give you a very brief overview.

6
00:00:15,300 --> 00:00:21,040
The entire idea of Travis C.I. is to watch for any time that you and I push some changes or some amount

7
00:00:21,040 --> 00:00:24,230
of code to the Get Help project that we just created.

8
00:00:24,340 --> 00:00:29,830
Anytime that we push up some new code get help is essentially going to tap on the shoulder of Travis

9
00:00:30,100 --> 00:00:34,040
and it's going to say hey this person just updated their get hub repository.

10
00:00:34,070 --> 00:00:37,810
There's some new code here or some new version of their application.

11
00:00:37,810 --> 00:00:44,200
Travis see-I will then automatically pull down all of the code inside of our Get repository and at that

12
00:00:44,200 --> 00:00:44,670
point.

13
00:00:44,680 --> 00:00:47,230
It essentially gives us the ability to do some work.

14
00:00:47,260 --> 00:00:49,630
Now really the sky is the limit with Travis.

15
00:00:49,630 --> 00:00:53,150
We can do anything with your code that you can possibly imagine.

16
00:00:53,380 --> 00:00:54,570
We can test your code.

17
00:00:54,580 --> 00:00:55,620
We can deploy it.

18
00:00:55,630 --> 00:01:01,000
We could even delete the whole get Hubbard pause a Tory from Travis if for some crazy reason you wanted

19
00:01:01,000 --> 00:01:02,180
to.

20
00:01:02,200 --> 00:01:07,060
Traditionally people use Travis for either testing their codebase or for deployment.

21
00:01:07,240 --> 00:01:09,280
And for us we're going to use it for both.

22
00:01:09,280 --> 00:01:11,670
We're going to first use Travis to test our code.

23
00:01:11,710 --> 00:01:16,960
And then once our code comes up green or once the tests passed successfully will automatically have

24
00:01:16,960 --> 00:01:21,280
Travis deployer application over to AWOS.

25
00:01:21,290 --> 00:01:23,980
So with that in mind let's start suddenly up Travis C.I..

26
00:01:24,140 --> 00:01:28,890
Fortunately the setup is really easy and really straightforward to get started.

27
00:01:28,910 --> 00:01:35,930
I'm going to open up a new browser tab and then I will navigate to Travis dash see-I dot org.

28
00:01:38,270 --> 00:01:41,100
Now once here you'll notice I'm already signed in UGMA and sign out.

29
00:01:41,120 --> 00:01:43,380
You'll probably see a page like this right here.

30
00:01:43,430 --> 00:01:48,720
You can click on either sign in with get hub or sign up right in the middle so click on either.

31
00:01:48,870 --> 00:01:52,290
And then you'll be prompted to authorize Travis s.i.

32
00:01:52,290 --> 00:01:58,110
Now this is a page provided by get HUD dot com of course get HUD is using or see me Traviss making use

33
00:01:58,110 --> 00:01:58,870
of Olaf here.

34
00:01:58,890 --> 00:02:05,070
So you are essentially granting access to all of your good HUD repositories over to Travis s.i.

35
00:02:05,070 --> 00:02:07,580
So I'll scroll down to the bottom and authorize it.

36
00:02:10,000 --> 00:02:15,220
Now once we go through that we'll get redirected back over to the Travis C.I. dashboard as a quick note

37
00:02:15,280 --> 00:02:18,720
if the dashboard looks different from you that is totally fine.

38
00:02:18,910 --> 00:02:19,660
Very quickly.

39
00:02:19,690 --> 00:02:26,660
You might be seeing something that looks a little bit like this is my dashboard.

40
00:02:26,660 --> 00:02:27,110
There we go.

41
00:02:27,110 --> 00:02:29,990
So if you see something looks like this that is totally fine.

42
00:02:29,990 --> 00:02:32,910
Sheriff s.c.i is going through a little bit of a redesign right now.

43
00:02:32,930 --> 00:02:37,340
And so by the time you watch this video you might already be seeing the new design if you are that's

44
00:02:37,340 --> 00:02:38,100
totally fine.

45
00:02:38,360 --> 00:02:41,290
Now I'm going to undo that little Bayda feature.

46
00:02:42,080 --> 00:02:43,100
There we go.

47
00:02:43,720 --> 00:02:43,990
OK.

48
00:02:44,000 --> 00:02:48,980
So the first thing we do here is tell Travis C.I. that we wanted to watch the get Huberty so that you

49
00:02:48,980 --> 00:02:50,330
and I just put together.

50
00:02:50,540 --> 00:02:53,940
So up on the right hand side I'm going to click on the profile link.

51
00:02:54,500 --> 00:03:00,500
If you see a green screen or a green box right here that talks about enabling Travis see-I as a get

52
00:03:00,500 --> 00:03:03,450
hub app then you need to go ahead and click that green button.

53
00:03:03,620 --> 00:03:06,790
But again that's kind of a new beta feature that I don't yet have access to.

54
00:03:06,800 --> 00:03:09,710
But it's another thing that try to see is going to roll out at some point.

55
00:03:09,710 --> 00:03:13,720
So if you see a little box right here that says oh yeah something something good hubcap.

56
00:03:13,760 --> 00:03:15,320
Just go ahead and click on that button.

57
00:03:16,290 --> 00:03:20,580
Once you go through that you'll then be presented with a big list of all the different repositories

58
00:03:20,580 --> 00:03:22,910
that exist inside your account.

59
00:03:22,920 --> 00:03:29,590
So we're going to filter this list and find the doctor dash reactor posit Torri that we just created.

60
00:03:29,730 --> 00:03:34,100
Once you find on the list well then clicked little I don't know switch right there.

61
00:03:35,770 --> 00:03:41,110
By clicking that switch or essentially telling Travis C.I. that anytime we push new code up to that

62
00:03:41,270 --> 00:03:47,520
good repository we want Travis C.I. to pull that code down and do some amount of work on it.

63
00:03:47,800 --> 00:03:48,940
So that's pretty much step one.

64
00:03:48,970 --> 00:03:50,510
Step 1 is now complete.

65
00:03:50,830 --> 00:03:55,090
We can now click the logo on the top left hand side and go back to our dashboard where you will now

66
00:03:55,090 --> 00:03:58,700
see a repository listed on the left hand side.

67
00:03:58,830 --> 00:04:03,070
You can click on it and you'll see something like this something that says no Beltran's repository.

68
00:04:03,120 --> 00:04:05,420
We have not yet really done anything at all.

69
00:04:05,730 --> 00:04:07,320
Let's take a quick pause right here.

70
00:04:07,560 --> 00:04:11,220
We're going to come back the next section and we'll start talking about how we can customize Travis

71
00:04:11,220 --> 00:04:14,540
C.I. and tell it to do some amount of work for us.

72
00:04:14,550 --> 00:04:16,590
So quick break and I'll see you in just a minute.
