File tree Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 6
6
before_script :
7
7
- |
8
8
pip install 'travis-cargo<0.2' --user &&
9
- export PATH=$HOME/.local /bin:$PATH
9
+ export PATH=`python -m site --user-base` /bin:$PATH
10
10
script :
11
11
- |
12
12
travis-cargo build &&
22
22
global :
23
23
- TRAVIS_CARGO_NIGHTLY_FEATURE=nightly
24
24
- secure : YXu24LptjeYirjWYjWGsMT2m3mB7LvQATE6TVo7VEUXv8GYoy2ORIHD83PeImxC93MmZ01QeUezRzuCW51ZcK92VnNSBttlF60SvIX18VsJrV92tsAhievFstqYQ+fB8DIuQ8noU0jPz7GpI+R9dlTRSImAqWOnVIghA+Wzz7Js=
25
+ os :
26
+ - linux
27
+ - osx
Original file line number Diff line number Diff line change
1
+ environment :
2
+ global :
3
+ PROJECT_NAME : lazy_static
4
+ matrix :
5
+ # Stable channel
6
+ - TARGET : i686-pc-windows-gnu
7
+ CHANNEL : stable
8
+ - TARGET : i686-pc-windows-msvc
9
+ CHANNEL : stable
10
+ - TARGET : x86_64-pc-windows-gnu
11
+ CHANNEL : stable
12
+ - TARGET : x86_64-pc-windows-msvc
13
+ CHANNEL : stable
14
+ # Beta channel
15
+ - TARGET : i686-pc-windows-gnu
16
+ CHANNEL : beta
17
+ - TARGET : i686-pc-windows-msvc
18
+ CHANNEL : beta
19
+ - TARGET : x86_64-pc-windows-gnu
20
+ CHANNEL : beta
21
+ - TARGET : x86_64-pc-windows-msvc
22
+ CHANNEL : beta
23
+ # Nightly channel
24
+ - TARGET : i686-pc-windows-gnu
25
+ CHANNEL : nightly
26
+ - TARGET : i686-pc-windows-msvc
27
+ CHANNEL : nightly
28
+ - TARGET : x86_64-pc-windows-gnu
29
+ CHANNEL : nightly
30
+ - TARGET : x86_64-pc-windows-msvc
31
+ CHANNEL : nightly
32
+
33
+ # Install Rust and Cargo
34
+ # (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
35
+ install :
36
+ - ps : Start-FileDownload "https://static.rust-lang.org/dist/channel-rust-stable"
37
+ - ps : $env:RUST_VERSION = Get-Content channel-rust-stable | select -first 1 | %{$_.split('-')[1]}
38
+ - if NOT "%CHANNEL%" == "stable" set RUST_VERSION=%CHANNEL%
39
+ - ps : Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUST_VERSION}-${env:TARGET}.exe"
40
+ - rust-%RUST_VERSION%-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
41
+ - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
42
+ - if "%TARGET%" == "i686-pc-windows-gnu" set PATH=%PATH%;C:\msys64\mingw32\bin
43
+ - if "%TARGET%" == "x86_64-pc-windows-gnu" set PATH=%PATH%;C:\msys64\mingw64\bin
44
+ - rustc -V
45
+ - cargo -V
46
+
47
+ build : false
48
+
49
+ test_script :
50
+ - cargo build --verbose
51
+ - cargo test
You can’t perform that action at this time.
0 commit comments