Fix Windows CI build failure

This commit is contained in:
Christian Duerr 2019-12-21 02:18:01 +01:00 committed by GitHub
parent 8a83340661
commit 512461a241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 3 deletions

View File

@ -14,7 +14,6 @@ git:
os: os:
- linux - linux
- osx - osx
- windows
rust: rust:
- 1.36.0 - 1.36.0
@ -39,13 +38,23 @@ matrix:
- name: "Clippy Windows" - name: "Clippy Windows"
os: windows os: windows
env: CLIPPY=true env: CLIPPY=true
rust: stable rust: stable-x86_64-pc-windows-msvc
- name: "Rustfmt" - name: "Rustfmt"
os: linux os: linux
env: RUSTFMT=true env: RUSTFMT=true
rust: nightly rust: nightly
- name: "Windows 1.36.0"
os: windows
rust: 1.36.0-x86_64-pc-windows-msvc
- name: "Windows Stable"
os: windows
rust: stable-x86_64-pc-windows-msvc
- name: "Windows Nightly"
os: windows
rust: nightly-x86_64-pc-windows-msvc
allow_failures: allow_failures:
- rust: nightly - rust: nightly
- rust: nightly-x86_64-pc-windows-msvc
install: ci/install.sh install: ci/install.sh
script: ci/script.sh script: ci/script.sh

View File

@ -1226,7 +1226,7 @@ impl<T: EventListener> ansi::Handler for Term<T> {
}; };
self.title = title.clone(); self.title = title.clone();
self.event_proxy.send_event(Event::Title(title.to_owned())); self.event_proxy.send_event(Event::Title(title));
} }
} }