Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit 5f81993

Browse files
authored
Merge pull request #68 from alexcrichton/appveyor
Add AppVeyor configuration
2 parents 7d3c9b6 + 6cb9bb7 commit 5f81993

File tree

4 files changed

+23
-15
lines changed

4 files changed

+23
-15
lines changed

.appveyor.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
environment:
2+
matrix:
3+
- TARGET: x86_64-pc-windows-msvc
4+
5+
install:
6+
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
7+
- rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain nightly
8+
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
9+
- rustc -V
10+
- cargo -V
11+
12+
build: false
13+
14+
test_script:
15+
- cargo test --all

.travis.yml

+4-14
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,8 @@
11
language: rust
22
rust:
3-
- nightly
4-
- stable
3+
- nightly
54
script:
6-
- cargo build
7-
- if [ $TRAVIS_RUST_VERSION == nightly ]; then cargo test -- --nocapture ; fi
8-
branches:
9-
only:
10-
# This is where pull requests from "bors r+" are built.
11-
- staging
12-
# This is where pull requests from "bors try" are built.
13-
- trying
14-
# Uncomment this to enable building pull requests.
15-
- master
5+
- cargo test --all
166
notifications:
17-
email:
18-
on_success: never
7+
email:
8+
on_success: never

Readme.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ The goal of this tool is to read and apply the suggestions made by rustc (and th
66

77
[clippy]: https://github.com/Manishearth/rust-clippy
88

9-
[![Build Status](https://travis-ci.org/killercup/rustfix.svg?branch=master)](https://travis-ci.org/killercup/rustfix)
9+
[![Build Status](https://travis-ci.org/rust-lang-nursery/rustfix.svg?branch=master)](https://travis-ci.org/rust-lang-nursery/rustfix)
10+
[![Build status](https://ci.appveyor.com/api/projects/status/g8ljreo9ryu3s6ee/branch/master?svg=true)](https://ci.appveyor.com/project/rust-lang-libs/rustfix/branch/master)
1011

1112
## Current state
1213

tests/everything.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg(not(windows))] // TODO: should fix these tests on Windows
2+
13
#[macro_use] extern crate duct;
24
#[macro_use] extern crate pretty_assertions;
35
extern crate tempdir;

0 commit comments

Comments
 (0)