Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
feat: switch Rust startup to Rust only
Browse files Browse the repository at this point in the history
Co-authored by: Phil Jenvey <[email protected]>

Closes #1243
  • Loading branch information
bbangert committed May 23, 2018
1 parent 7c22ccd commit 7c25786
Show file tree
Hide file tree
Showing 24 changed files with 2,972 additions and 1,011 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ pypy/
.eggs/
autopush_rs/target
autopush_rs/_native*
target
*.rs.bk
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,15 @@ install:
# Build here instead of within tox's pip install -e. It hides the output
# which can kill the job on slower travis runs
if [ ${WITH_RUST} == "release" ]; then
export CARGO_ARG="--release"
cargo install --path autopush_rs || travis_terminate 1
#export CARGO_ARG="--debug"
else
cargo install --debug --path autopush_rs || travis_terminate 1
fi
cargo build --manifest-path autopush_rs/Cargo.toml ${CARGO_ARG:-""} || \
travis_terminate 1
#cargo build --manifest-path autopush_rs/Cargo.toml ${CARGO_ARG:-""} || \
# travis_terminate 1
#cargo install ${CARGO_ARG:-""} || travis_terminate 1
#unset WITH_RUST
fi
script:
- tox -v -- ${CODECOV:+--with-coverage --cover-xml --cover-package=autopush}
Expand Down
Loading

0 comments on commit 7c25786

Please sign in to comment.