Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Stick to python3.6 for now.
  • Loading branch information
windelbouwman committed Jul 6, 2019
commit f68b064224ec3f1748d8d070fe59ce396384cc29
11 changes: 3 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
matrix:
fast_finish: true
include:
- name: rust unittests and doctests
- name: Run rust tests
language: rust
rust: stable
cache: cargo
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
vmImage: 'vs2017-win2016'
strategy:
matrix:
Python37:
python.version: '3.7'
Python36:
python.version: '3.6'
maxParallel: 10

steps:
Expand Down