File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ language : rust
2+ dist : xenial
3+
4+ addons :
5+ apt :
6+ sources :
7+ - deadsnakes
8+ packages :
9+ - python3.5-dev
10+ - python3.6-dev
11+ - python3.6-venv
12+ - python3.7-dev
13+
14+ matrix :
15+ fast_finish : true
16+ include :
17+ - os : linux
18+ rust : nightly-2019-02-04
19+ - os : osx
20+ rust : nightly-2019-02-04
21+
22+ install :
23+ - |
24+ if [ "$TRAVIS_OS_NAME" == "osx" ]; then
25+ python3 -m venv venv
26+ source venv/bin/activate
27+ pip install cffi virtualenv
28+ fi
29+ - |
30+ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
31+ python3.6 -m venv venv
32+ source venv/bin/activate
33+ pip install cffi virtualenv
34+ fi
35+ - cargo install pyo3-pack
36+ - rustup default nightly-2019-02-04
37+ - rustup component add rustfmt
38+
39+ script :
40+ - pyo3-pack build
41+ - cargo fmt --all -- --check
You can’t perform that action at this time.
0 commit comments