mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Stick to python3.6 for now.
This commit is contained in:
1 parent
ef44e7295e
commit
f68b064224
2 files changed
+5
-10
No files matched your search
+3
-8
@@ -2,7 +2,7 @@
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- name: rust unittests and doctests
|
||||
- name: Run rust tests
|
||||
language: rust
|
||||
rust: stable
|
||||
cache: cargo
|
||||
@@ -28,18 +28,13 @@ matrix:
|
||||
- CODE_COVERAGE=false
|
||||
script: tests/.travis-runner.sh
|
||||
|
||||
- name: rustfmt
|
||||
- name: Check rust code style with rustfmt
|
||||
language: rust
|
||||
rust: stable
|
||||
cache: cargo
|
||||
before_script:
|
||||
- rustup component add rustfmt-preview
|
||||
- rustup component add rustfmt
|
||||
script:
|
||||
# Code references the generated python.rs, so put something in
|
||||
# place to make `cargo fmt` happy. (We use `echo` rather than
|
||||
# `touch` because rustfmt complains about the empty file touch
|
||||
# creates.)
|
||||
- echo > parser/src/python.rs
|
||||
- cargo fmt --all -- --check
|
||||
env:
|
||||
- JOBCACHE=3
|
||||
|
||||
+2
-2
@@ -8,8 +8,8 @@ jobs:
|
||||
vmImage: 'vs2017-win2016'
|
||||
strategy:
|
||||
matrix:
|
||||
Python37:
|
||||
python.version: '3.7'
|
||||
Python36:
|
||||
python.version: '3.6'
|
||||
maxParallel: 10
|
||||
|
||||
steps:
|
||||
|
||||
Reference in new issue
Block a user