diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2018-10-11 23:16:20 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2019-10-16 09:15:39 +0200 |
| commit | 5c385c3790c9b0e5b610a031bc17fa16459ae881 (patch) | |
| tree | 078ca7ced27931268aed13834dbac1256ddbaacc | |
| parent | 19a9111c24ae0a63b9530d0fa3e47158e8c319b4 (diff) | |
| download | mullvadvpn-5c385c3790c9b0e5b610a031bc17fa16459ae881.tar.xz mullvadvpn-5c385c3790c9b0e5b610a031bc17fa16459ae881.zip | |
Add CI testing for Windows on Travis
| -rw-r--r-- | .travis.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index cafe1b5480..649fd59f19 100644 --- a/.travis.yml +++ b/.travis.yml @@ -101,6 +101,35 @@ matrix: script: - docker exec -t mvd-build bash ci/ci-rust-script.sh stable + # Daemon - Windows + - os: windows + name: Daemon - stable Rust + env: RUST_VERSION=stable + language: bash + cache: &rust_windows_cache + directories: + - windows/nsis-plugins/bin + - windows/windns/bin + - windows/winfw/bin + - windows/winnet/bin + - windows/winutil/bin + install: &rust_windows_install + - du -sh windows/ + - curl -sSf -o rustup-init.exe https://win.rustup.rs/ + - ./rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain $RUST_VERSION --profile minimal + - export PATH="$HOME/.cargo/bin/:$PATH" + - export PATH="/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/MSBuild/15.0/Bin/amd64/:$PATH" + script: &rust_windows_script + - ./ci/ci-rust-script.sh $RUST_VERSION + + - os: windows + name: Daemon - beta Rust + env: RUST_VERSION=beta + language: bash + cache: *rust_windows_cache + install: *rust_windows_install + script: *rust_windows_script + notifications: email: |
