Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin pip and pipenv versions for now #469

Merged
merged 2 commits into from
Oct 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ cache:
- $HOME/.cache/pip
- .arca/cache
install:
- python -m pip install pipenv --upgrade
- python -m pip install --upgrade 'pip<18.1' 'pipenv<2018.10.7'
- pipenv install 'git+https://github.com/pyvec/arca.git@pip_pipenv#egg=arca' 'docker~=3.2.1'
- pipenv install --deploy --dev
before_script: # encrypted variables aren't accessible in PRs
- 'if [ -n "$DOCKER_HUB_PASSWORD" ]; then docker login -u "$DOCKER_HUB_USERNAME" -p "$DOCKER_HUB_PASSWORD"; fi'
- 'if [ -z "$DOCKER_HUB_PASSWORD" ]; then export ARCA_BACKEND_REGISTRY_PULL_ONLY=true; fi'
script:
- pipenv graph
- pipenv run test
- pipenv run naucse list_courses # don't remove, there might be timeouts otherwise, see naucse/cli.py for details
- pipenv run naucse list-courses # don't remove, there might be timeouts otherwise, see naucse/cli.py for details
- pipenv run naucse freeze --verbose
after_script:
- echo "Suplementary logs:"
Expand Down
2 changes: 1 addition & 1 deletion naucse/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def cli(app, *, base_url=None, freezer=None):
def naucse():
pass

@naucse.command()
@naucse.command(name='list-courses')
@click.option("--forks-only", default=False, is_flag=True,
help="Only list courses and runs from forks")
def list_courses(forks_only):
Expand Down