1- # Based on the "trust" template v0.1.1
2- # https://github.com/japaric/trust/tree/v0.1.1
1+ # Based on the "trust" template v0.1.2
2+ # https://github.com/japaric/trust/tree/v0.1.2
33
44environment :
55 global :
@@ -8,7 +8,9 @@ environment:
88
99 matrix :
1010 - TARGET : i686-pc-windows-msvc
11+ RUST_VERSION : nightly
1112 - TARGET : x86_64-pc-windows-msvc
13+ RUST_VERSION : nightly
1214
1315install :
1416 - ps : >-
@@ -26,18 +28,22 @@ install:
2628test_script :
2729 # we don't run the "test phase" when doing deploys
2830 - if [%APPVEYOR_REPO_TAG%]==[false] (
29- cargo build --features nightly --target %TARGET% &&
30- cargo test --target %TARGET%
31+ cargo build --target %TARGET% &&
32+ cargo build --target %TARGET% --release &&
33+ cargo test --target %TARGET% &&
34+ cargo test --target %TARGET% --release &&
35+ cargo run --target %TARGET% &&
36+ cargo run --target %TARGET% --release
3137 )
3238
3339before_deploy :
34- - cargo rustc --features nightly -- target %TARGET% --release --bin autojump -- -C lto
40+ - cargo rustc --target %TARGET% --release --bin autojump -- -C lto
3541 - ps : ci\before_deploy.ps1
3642
3743deploy :
3844 artifact : /.*\.zip/
3945 auth_token :
40- secure : wstWtOl7e6TUnwU5KKd84jDXBflG4UHQJlrpQmvHqiMvRhJlX019zac+TD0itTu4
46+ secure : GcA+5ic3SEqiNovkdYNOct5D/AGTS2LTp6jZuDgHAVUC3/oEHGM5U8JTQAc0o/0M
4147 description : ' '
4248 on :
4349 RUST_VERSION : nightly
@@ -48,6 +54,12 @@ cache:
4854 - C:\Users\appveyor\.cargo\registry
4955 - target
5056
57+ branches :
58+ only :
59+ # Release tags
60+ - /^\d+\.\d+\.\d+.*$/
61+ - master
62+
5163notifications :
5264 - provider : Email
5365 on_build_success : false
0 commit comments