From 5c3d684bdb528ab62717574f2b67d4d37fad5ca4 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 8 Aug 2016 01:58:16 -0500 Subject: [PATCH 1/3] CI: AppVeyor --- appveyor.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..e7a6a5e --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,24 @@ +environment: + global: + matrix: + - TARGET=i686-pc-windows-msvc + - TARGET=x86_64-pc-windows-msvc + +install: + - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" + - rust-nightly-%TARGET%.exe + - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin + - rustc -Vv + - cargo -V + +build: false + +test_script: + - cargo build + - cargo build --release + - cargo test + - cargo test --release + +branches: + only: + - master From 5af72233a71f1af5dd261f2e11b0d1077bdeb8ca Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 8 Aug 2016 01:59:37 -0500 Subject: [PATCH 2/3] fix the syntax --- appveyor.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index e7a6a5e..f051e3b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,8 +1,7 @@ environment: - global: - matrix: - - TARGET=i686-pc-windows-msvc - - TARGET=x86_64-pc-windows-msvc + matrix: + - TARGET: i686-pc-windows-msvc + - TARGET: x86_64-pc-windows-msvc install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" From 9ec6a78ae2c0c497f7c87bcfb4ec10a5e9b88cdd Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 8 Aug 2016 02:05:24 -0500 Subject: [PATCH 3/3] properly call the rust installer to not require user input --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index f051e3b..d27883d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,7 +5,7 @@ environment: install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" - - rust-nightly-%TARGET%.exe + - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin - rustc -Vv - cargo -V