@@ -13,7 +13,7 @@ If you want to make a contribution to the project, see the
13
13
branch. Make a new branch and submit a pull request instead.
14
14
* * gh-pages* : Holds the HTML documentation and is served by GitHub. Pages for the master
15
15
branch are in the ` dev ` folder. Pages for each release are in their own folders.
16
- ** Automatically updated by TravisCI ** so you shouldn't have to make commits here.
16
+ ** Automatically updated by GitHub Actions ** so you shouldn't have to make commits here.
17
17
18
18
19
19
## Reviewing and merging pull requests
@@ -40,7 +40,7 @@ The main advantages of this are:
40
40
41
41
## Continuous Integration
42
42
43
- We use GitHub Actions and TravisCI continuous integration (CI) services to
43
+ We use GitHub Actions continuous integration (CI) services to
44
44
build and test the project on Linux, macOS and Windows.
45
45
They rely on the ` requirements.txt ` file to install required dependencies using
46
46
conda and the ` Makefile ` to run the tests and checks.
@@ -54,6 +54,12 @@ There are 4 configuration files located in `.github/workflows`:
54
54
This is ran on every commit on the * master* and Pull Request branches.
55
55
It is also scheduled to run daily on the * master* branch.
56
56
57
+ On the * master* branch, the workflow also handles the documentation deployment:
58
+
59
+ * Updating the development documentation by pushing the built HTML pages from the
60
+ * master* branch onto the ` dev ` folder of the * gh-pages* branch.
61
+ * Updated the ` latest ` documentation link to the new release.
62
+
57
63
2 . ` ci_tests_dev.yaml ` (GMT Latest Tests on Linux/macOS).
58
64
59
65
This is only triggered when a review is requested or re-requested on a PR.
@@ -72,23 +78,6 @@ Archives will be pushed to TestPyPI on every commit to the *master* branch and
72
78
tagged releases, and to PyPI for tagged releases only.
73
79
74
80
75
- ### Travis CI
76
-
77
- The configuration file is at ` .travis.yml ` .
78
- Travis runs tests (Linux only) and handles the documentation deployment automatically:
79
-
80
- * Updating the development documentation by pushing the built HTML pages from the
81
- * master* branch onto the ` dev ` folder of the * gh-pages* branch.
82
- * Updated the ` latest ` documentation link to the new release.
83
-
84
- This way, most day-to-day maintenance operations are automatic.
85
-
86
- The scripts that setup the test environment and run the deployments are loaded from the
87
- [ fatiando/continuous-integration] ( https://github.com/fatiando/continuous-integration )
88
- repository to avoid duplicating work across multiple repositories.
89
- If you find any problems with the test setup and deployment, please create issues and
90
- submit pull requests to that repository.
91
-
92
81
## Continuous Documentation
93
82
94
83
We use the [ Zeit Now for GitHub integration] ( https://zeit.co/github ) to preview changes
@@ -102,7 +91,7 @@ see https://zeit.co/docs/v2/build-step/?query=package.json#defining-a-build-scri
102
91
## Making a Release
103
92
104
93
We try to automate the release process as much as possible.
105
- Travis handles publishing new releases to PyPI and updating the documentation.
94
+ GitHub Actions workflow handles publishing new releases to PyPI and updating the documentation.
106
95
The version number is set automatically using setuptools_scm based information
107
96
obtained from git.
108
97
There are a few steps that still must be done manually, though.
@@ -166,7 +155,7 @@ and clicking on publish. A git tag will also be created, make sure that this
166
155
tag is a proper version number (following [Semantic Versioning](https://semver.org/))
167
156
with a leading `v`. E.g. `v0.2.1`.
168
157
169
- Once the release/tag is created, this should trigger Travis to do all the work for us.
158
+ Once the release/tag is created, this should trigger GitHub Actions to do all the work for us.
170
159
A new source distribution will be uploaded to PyPI, a new folder with the documentation
171
160
HTML will be pushed to *gh-pages*, and the `latest` link will be updated to point to
172
161
this new folder.
0 commit comments