Skip to content

Commit

Permalink
Merge pull request #7 from EducationalTestingService/testing/migratio…
Browse files Browse the repository at this point in the history
…n-to-travis-com

Testing migration to Travis CI com from org
  • Loading branch information
desilinguist authored Nov 1, 2020
2 parents 43a8583 + 52898a5 commit bf4a553
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ install:
- git remote add -f origin https://github.com/EducationalTestingService/rsmtool.git
- git config core.sparsecheckout true
- echo "tests/*" > .git/info/sparse-checkout
- git pull --depth=1 origin master
- git pull --depth=1 origin main
- conda create --name rsmenv python=3.6 --yes
- ${HOME}/miniconda3/envs/rsmenv/bin/pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple rsmtool==${RSMVERSION}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This project is to test the PyPI packages for [RSMTool](https://github.com/EducationalTestingService/rsmtool) on Linux and Windows. We do not test on macOS; we assume that if the package works on Linux, it will also work on macOS.

To test a new package version that has been already built and uploaded to the the Python Package Index, create a new branch, change the `RSMVERSION` values in both `.travis.yml` and `appveyor.vml` to the version you want to test, and submit a pull request for the branch. If both builds pass, merge the PR. You can then delete the pull request without merging it.
To test a new package version that has been already built and uploaded to the the Python Package Index, create a new branch, change the `RSMVERSION` values in both `.travis.yml` and `azure-pipelines.yml` to the version you want to test, and submit a pull request for the branch. If both builds pass, merge the PR. You can then delete the pull request without merging it.

The packages are tested by creating a new conda environment and installing the specified RSMTool version and its dependencies using `pip`. The code for RSMTool is also checked out in a separate directory and then the tests are run with the installed rsmtool package in the environment.

Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
git remote add -f origin https://github.com/EducationalTestingService/rsmtool.git
git config core.sparsecheckout true
echo tests/* > .git/info/sparse-checkout
git pull --depth=1 origin master
git pull --depth=1 origin main
displayName: "Clone RSMTool tests"
- script: |
Expand Down

0 comments on commit bf4a553

Please sign in to comment.