forked from mitsuhiko/rusoto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
33 lines (29 loc) · 1013 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# from https://github.com/japaric/rust-everywhere and https://github.com/yupferris/rustendo64/blob/master/appveyor.yml
os: Visual Studio 2015
environment:
global:
# This will be used as part of the zipfile name
PROJECT_NAME: rusoto
matrix:
- TARGET: x86_64-pc-windows-msvc
CHANNEL: stable
cache:
- 'C:\Users\appveyor\.cargo'
# Install Rust and Cargo
# (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin;c:\cygwin\bin
- rustc -Vv
- cargo -V
- git submodule update --init --recursive
# Equivalent to Travis' `script` phase
build_script:
# We only build and test a subset due to https://github.com/rusoto/rusoto/issues/537
- cargo build --features "dynamodb s3 sqs" -vv
test_script:
- cargo test --lib --features "dynamodb s3 sqs"
branches:
only:
- master