Move dependencies from requirements files into pyproject.toml, add extra groups for dev, docs #565
Travis CI / Travis CI - Pull Request
succeeded
Aug 15, 2024 in 2m 51s
Build Passed
The build passed, just like the previous build.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #565 Move dependencies from requirements files into project metadata.
Any changes that have been made to the development branch before the build ran are also included.
Jobs and Stages
This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.
Build Configuration
Build Option | Setting |
---|---|
Language | Python |
Operating System | Linux (Xenial) |
Build Configuration
{
"language": "python",
"os": [
"linux"
],
"dist": "xenial",
"before_install": [
"sudo apt-get update",
"wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh",
"bash miniconda.sh -b -p $HOME/miniconda",
"export PATH=\"$HOME/miniconda/bin:$PATH\"",
"hash -r",
"conda config --set always_yes yes --set changeps1 no",
"conda update -q conda",
"conda info -a"
],
"install": [
"conda create --name icepyx-env --channel conda-forge python=3.10 pip proj geos",
"source activate icepyx-env",
"pip install -e .[dev,complete]"
],
"stages": [
{
"name": "basic tests",
"if": "(type = pull_request) OR (type = push AND repo = icesat2py/icepyx AND branch IN (main, development))"
},
{
"name": "behind Earthdata",
"if": "branch = main OR commit_message =~ nsidc_tests OR type = cron"
}
],
"jobs": {
"include": [
{
"stage": "basic tests",
"script": [
"pytest icepyx/ --verbose --cov app --ignore icepyx/tests/test_behind_NSIDC_API_login.py"
],
"after_success": [
"curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import",
"curl -Os https://uploader.codecov.io/latest/linux/codecov",
"curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM",
"curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig",
"gpgv codecov.SHA256SUM.sig codecov.SHA256SUM",
"shasum -a 256 -c codecov.SHA256SUM",
"chmod +x codecov",
"./codecov -t ${CODECOV_TOKEN}"
]
},
{
"stage": "behind Earthdata",
"script": [
"export EARTHDATA_PASSWORD=$NSIDC_LOGIN",
"pytest icepyx/tests/test_behind_NSIDC_API_login.py"
]
}
]
}
}
Loading