You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user/installing-dependencies.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ To install Ubuntu packages that are not included in the standard [precise](/user
14
14
15
15
```yaml
16
16
before_install:
17
-
- sudo apt-get install -y libxml2-dev
17
+
- sudo apt-get -y install libxml2-dev
18
18
```
19
19
{: data-file=".travis.yml"}
20
20
@@ -23,24 +23,24 @@ By default, `apt-get update` does not get run automatically. If you want to upda
23
23
```yaml
24
24
before_install:
25
25
- sudo apt-get update
26
-
- sudo apt-get install -y libxml2-dev
26
+
- sudo apt-get -y install libxml2-dev
27
27
```
28
28
{: data-file=".travis.yml"}
29
29
30
30
The second way is to use the [APT addon](#installing-packages-with-the-apt-addon):
31
31
32
32
```yaml
33
33
before_install:
34
-
- sudo apt-get install -y libxml2-dev
34
+
- sudo apt-get -y install libxml2-dev
35
35
addons:
36
36
apt:
37
37
update: true
38
38
```
39
39
{: data-file=".travis.yml"}
40
40
41
-
> Do not run `apt-get upgrade` in your build as it downloads up to 500MB of packages and significantly extends your build time.
41
+
> Do not run `apt-get upgrade` in your build as it downloads up to 500MB of packages and significantly extends your build time. Additionally, some packages may fail to update, which will lead to a failed build.
42
42
>
43
-
> Use the `-y` parameter with apt-get to assume yes as the answer to each apt-get prompt.
43
+
> Use the `-y` parameter with apt-get to assume yes to all queries by the apt tools.
44
44
45
45
### Installing Packages from a custom APT repository
46
46
@@ -50,9 +50,9 @@ For example, to install gcc from the ubuntu-toolchain ppa
Copy file name to clipboardExpand all lines: user/migrate/open-source-repository-migration.md
+7-10Lines changed: 7 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -19,20 +19,18 @@ When a repository is migrated, the following information will be transferred to
19
19
* Cron jobs configured for the repository
20
20
* Last build status - the build badge in travis-ci.com will reflect this status until new builds are triggered
21
21
* Next build number
22
+
* Previous build history
22
23
23
24
### What information will not be transferred to travis-ci.com?
24
25
25
-
The following information will not be transferred to travis-ci.com when a repository is migrated.
26
+
The following information will not be transferred to travis-ci.com when a repository is migrated:
26
27
27
-
* Previous build history - your builds from before the migration to travis-ci.com will remain on travis-ci.org until the complete build- history migration (sometime in early Q3 2019)
28
28
* Caches - they will be re-created automatically on the first build on travis-ci.com
29
29
30
30
## Do I need to make any other changes?
31
31
32
32
You only need to make any changes yourself if you use any of the following features:
33
33
34
-
***build badges**: make sure to update the URL to reflect the new repository setup in travis-ci.com. In the future, we will automatically redirect travis-ci.org badge URLs to the corresponding travis-ci.com ones.
35
-
36
34
***"Protected Branches" feature in GitHub** to require a passing Travis CI build before merging a Pull Request: make sure to edit your required status checks to now use `Travis CI - Pull Request` and/or `Travis CI - Branch`. See: [Required status checks at GitHub](https://help.github.com/articles/about-required-status-checks/).
37
35
38
36
***[Travis CLI](https://github.com/travis-ci/travis.rb)**: after migration make sure to add the `--com` flag or [make it your default endpoint](https://github.com/travis-ci/travis.rb#endpoint) by running: `travis endpoint --com --set-default`.
@@ -45,16 +43,15 @@ Your repository on travis-ci.org will be automatically deactivated (that is, it
45
43
46
44
With this read-only mode:
47
45
48
-
* All the previous build history will be accessible at travis-ci.org
49
46
* The "Trigger build" functionality won't be available in travis-ci.org
50
47
* It won't be possible to restart a previous job that ran in travis-ci.org
51
48
* The Settings page for your repository will become inactive - the transferred repository settings will now be available in travis-ci.com instead.
52
49
53
-
In the future, when all the previous build history is migrated, we will provide redirections from all API/web requests going to travis-ci.org to travis-ci.com.
50
+
In the future, we will provide redirections from all API/web requests going from travis-ci.org to travis-ci.com.
54
51
55
52
## How long does the migration process take?
56
53
57
-
The migration process for a repository should not take more than a couple of seconds.
54
+
The migration process for each repository should not take more than a couple of seconds.
58
55
59
56
## Can I migrate multiple repositories at once?
60
57
@@ -77,14 +74,14 @@ If you are already using GitHub Apps for your account in travis-ci.com, you need
77
74
78
75
3. When activating the Travis CI GitHub App, grant access to the repositories (both public and private) that you want to build in travis-ci.com. Save the changes.
79
76
80
-
4. Once back in your Travis CI profile, the selected repositories will be listed there. Those projects that were already building in travis-ci.com, or any new public or private projects will now be active in travis-ci.com.
77
+
4. Once back in your Travis CI profile, the selected repositories will be listed there. Those projects that were already building in travis-ci.org will appear in the Migrate tab for your account.
81
78
82
79
### The migration steps
83
80
84
-
1. Once you have granted access via GitHub Apps to the repositories you'd like to build and transfer, a new["Migrate" tab](https://travis-ci.com/account/migrate)will appear in your account page with a list of the repositories to migrate:
81
+
1. Once you have granted access via GitHub Apps to the repositories you'd like to build and transfer, on the["Migrate" tab](https://travis-ci.com/account/migrate), there will be a list of the repositories available to migrate:
2. Select the repositories you'd like to migrate and click "Migrate selected repositories", You'll be asked for a final confirmation - please remember that your build history will not be migrated at this time (See: [What information will not be transferred to travis-ci.com?](#what-information-will-not-be-transferred-to-travis-cicom)).
84
+
2. Select the repositories you'd like to migrate and click "Migrate selected repositories", You'll be asked for a final confirmation - please remember that you'll need to update protected branches (See: [Do I need to make any other changes?](#do-i-need-to-make-any-other-changes)).
88
85
89
86
3. Confirm the migration. The icons next to your repository name will show the migration status ("processing", or "migrated"):
0 commit comments