mirror of
https://github.com/rust-lang/cargo
synced 2024-10-13 11:12:25 +00:00
cfb69ad256
This commit aims to have the end goal of adding AppVeyor CI support to this repo, and along the way it ended up meaning that the dependency installation bits were rewritten in Python. This has a number of benefits: * Python is more portable than shell * Python is more readable than shell * curl is no longer required on Windows (powershell is used for downloads) There are also a few minor updates made as part of this commit as well: * The README has been updated in how to build Cargo * We now use `sudo: false` on Travis for faster builds. This is done by specifying packages to install instead of installing them ourselves. * pkg-config is no longer listed as a required program
20 lines
412 B
YAML
20 lines
412 B
YAML
environment:
|
|
matrix:
|
|
- MSVC: 1
|
|
BITS: 64
|
|
TARGET: x86_64-pc-windows-msvc
|
|
|
|
install:
|
|
- python src/etc/install-deps.py
|
|
- python src/etc/dl-snapshot.py %TARGET%
|
|
- call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
|
|
- SET PATH=%PATH%;%cd%/rustc/bin
|
|
- SET PATH=%PATH%;%cd%/target/snapshot/cargo/bin
|
|
- rustc -V
|
|
- cargo -V
|
|
|
|
build: false
|
|
|
|
test_script:
|
|
- cargo test
|