Skip to content

Commit

Permalink
Add appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 committed Jul 1, 2017
1 parent ea32ad6 commit dec33ab
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
9 changes: 9 additions & 0 deletions appveyor.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
echo Test all
cargo test --verbose --all

if [%CHANNEL%] == [nightly] (
echo Bench lib
cd lib
cargo bench --verbose
cd ..
)
26 changes: 26 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
environment:
matrix:
- TARGET: i686-pc-windows-gnu
CHANNEL: stable
- TARGET: i686-pc-windows-msvc
CHANNEL: stable
- TARGET: x86_64-pc-windows-gnu
CHANNEL: stable
- TARGET: x86_64-pc-windows-msvc
CHANNEL: stable
- TARGET: x86_64-pc-windows-msvc
CHANNEL: beta
- TARGET: x86_64-pc-windows-msvc
CHANNEL: nightly

install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain %CHANNEL% --default-host %TARGET%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV

build: false

test_script:
- appveyor.bat
2 changes: 2 additions & 0 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ encodings (base64, base32, hex, etc.). See the documentation for more details.
include = ["Cargo.toml", "src/lib.rs"]

[badges]
appveyor = { repository = "ia0/data-encoding" }
coveralls = { repository = "ia0/data-encoding" }
travis-ci = { repository = "ia0/data-encoding" }

0 comments on commit dec33ab

Please sign in to comment.