@@ -13,7 +13,7 @@ If you want to make a contribution to the project, see the
1313 branch. Make a new branch and submit a pull request instead.
1414* * gh-pages* : Holds the HTML documentation and is served by GitHub. Pages for the master
1515 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.
1717
1818
1919## Reviewing and merging pull requests
@@ -40,7 +40,7 @@ The main advantages of this are:
4040
4141## Continuous Integration
4242
43- We use GitHub Actions and TravisCI continuous integration (CI) services to
43+ We use GitHub Actions continuous integration (CI) services to
4444build and test the project on Linux, macOS and Windows.
4545They rely on the ` requirements.txt ` file to install required dependencies using
4646conda and the ` Makefile ` to run the tests and checks.
@@ -54,6 +54,12 @@ There are 4 configuration files located in `.github/workflows`:
5454This is ran on every commit on the * master* and Pull Request branches.
5555It is also scheduled to run daily on the * master* branch.
5656
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+
57632 . ` ci_tests_dev.yaml ` (GMT Latest Tests on Linux/macOS).
5864
5965This 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
7278tagged releases, and to PyPI for tagged releases only.
7379
7480
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-
9281## Continuous Documentation
9382
9483We 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
10291## Making a Release
10392
10493We 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.
10695The version number is set automatically using setuptools_scm based information
10796obtained from git.
10897There 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
166155tag is a proper version number (following [Semantic Versioning](https://semver.org/))
167156with a leading `v`. E.g. `v0.2.1`.
168157
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.
170159A new source distribution will be uploaded to PyPI, a new folder with the documentation
171160HTML will be pushed to *gh-pages*, and the `latest` link will be updated to point to
172161this new folder.
0 commit comments