Skip to content
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ venv
.vscode/tags
.pytest_cache
.hypothesis
checkouts
semaphore
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ python:

cache:
pip: true
directories:
- checkouts/semaphore/target/debug/
- ~/.cargo/registry/
- ~/.rustup/
cargo: true

branches:
only:
Expand Down Expand Up @@ -44,10 +41,8 @@ matrix:
script: make travis-upload-docs

install:
- curl https://sh.rustup.rs -sSf | sh -s -- -y
- . $HOME/.cargo/env
- pip install tox
- sh scripts/checkout-semaphore.sh
- sh scripts/download-semaphore.sh

script:
- sh scripts/runtox.sh
Expand Down
23 changes: 0 additions & 23 deletions scripts/checkout-semaphore.sh

This file was deleted.

11 changes: 11 additions & 0 deletions scripts/download-semaphore.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh

# Download the latest semaphore release for Travis

curl -s https://api.github.com/repos/getsentry/semaphore/releases/latest \
| grep "Linux" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -i - -O ./semaphore

chmod +x ./semaphore
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from sentry_sdk._compat import reraise
from sentry_sdk.transport import Transport

SEMAPHORE = "./checkouts/semaphore/target/debug/semaphore"
SEMAPHORE = "./semaphore"

if not os.path.isfile(SEMAPHORE):
SEMAPHORE = None
Expand Down