Skip to content

Commit 35a269e

Browse files
authored
Merge pull request sekineh#18 from sekineh/cleanup-old-ci
clean up travis and appveyor staff.
2 parents d443ea1 + 01295c9 commit 35a269e

File tree

7 files changed

+2
-357
lines changed

7 files changed

+2
-357
lines changed

.travis.yml

Lines changed: 0 additions & 134 deletions
This file was deleted.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ serde = { version = "1.0", optional = true, features = ["derive"] }
1717
serde_json = "1.0.39"
1818

1919
[badges]
20-
travis-ci = { repository = "sekineh/binary-heap-plus-rs" }
21-
appveyor = { repository = "sekineh/binary-heap-plus-rs" }
20+
# TODO: waiting for PR to land...: https://github.com/rust-lang/crates.io/pull/1838#
21+
# github-actions = { repository = "sekineh/binary-heap-plus-rs", workflow = "Rust" }

appveyor.yml

Lines changed: 0 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,3 @@
1-
# Based on the "trust" template v0.1.2
2-
# https://github.com/japaric/trust/tree/v0.1.2
3-
4-
environment:
5-
global:
6-
# DONE This is the Rust channel that build jobs will use by default but can be
7-
# overridden on a case by case basis down below
8-
RUST_VERSION: stable
9-
10-
# DONE Update this to match the name of your project.
11-
CRATE_NAME: binary-heap-plus
12-
13-
# DONE These are all the build jobs. Adjust as necessary. Comment out what you
14-
# don't need
15-
matrix:
16-
# MinGW
17-
- TARGET: i686-pc-windows-gnu
18-
- TARGET: x86_64-pc-windows-gnu
19-
20-
# MSVC
21-
- TARGET: i686-pc-windows-msvc
22-
- TARGET: x86_64-pc-windows-msvc
23-
24-
# Testing other channels
25-
- TARGET: x86_64-pc-windows-gnu
26-
RUST_VERSION: nightly
27-
- TARGET: x86_64-pc-windows-msvc
28-
RUST_VERSION: nightly
29-
30-
install:
31-
- ps: >-
32-
If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') {
33-
$Env:PATH += ';C:\msys64\mingw64\bin'
34-
} ElseIf ($Env:TARGET -eq 'i686-pc-windows-gnu') {
35-
$Env:PATH += ';C:\msys64\mingw32\bin'
36-
}
37-
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
38-
- rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION%
39-
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
40-
- rustc -Vv
41-
- cargo -V
42-
43-
# TODO This is the "test phase", tweak it as you see fit
44-
test_script:
45-
- cargo build --target %TARGET%
46-
- cargo test --target %TARGET%
47-
- cargo build --target %TARGET% --features serde
48-
- cargo test --target %TARGET% --features serde
49-
- cargo build --target %TARGET% --release
50-
- cargo test --target %TARGET% --release
51-
- cargo build --target %TARGET% --release --features serde
52-
- cargo test --target %TARGET% --release --features serde
53-
54-
before_deploy:
55-
# TODO Update this to build the artifacts that matter to you
56-
- cargo rustc --target %TARGET% --release --bin hello -- -C lto
57-
- ps: ci\before_deploy.ps1
58-
59-
deploy:
60-
artifact: /.*\.zip/
61-
# TODO update `auth_token.secure`
62-
# - Create a `public_repo` GitHub token. Go to: https://github.com/settings/tokens/new
63-
# - Encrypt it. Go to https://ci.appveyor.com/tools/encrypt
64-
# - Paste the output down here
65-
auth_token:
66-
secure: t3puM/2hOig26EHhAodcZBc61NywF7/PFEpimR6SwGaCiqS07KR5i7iAhSABmBp7
67-
description: ''
68-
on:
69-
# DONE Here you can pick which targets will generate binary releases
70-
# In this example, there are some targets that are tested using the stable
71-
# and nightly channels. This condition makes sure there is only one release
72-
# for such targets and that's generated using the stable channel
73-
RUST_VERSION: never
74-
appveyor_repo_tag: true
75-
provider: GitHub
76-
77-
cache:
78-
- C:\Users\appveyor\.cargo\registry
79-
- target
80-
811
branches:
822
only:
83-
# Release tags
843
- never-never-never
85-
86-
notifications:
87-
- provider: Email
88-
on_build_success: false
89-
90-
# Building is done in the test phase, so we disable Appveyor's build phase.
91-
build: false

ci/before_deploy.ps1

Lines changed: 0 additions & 23 deletions
This file was deleted.

ci/before_deploy.sh

Lines changed: 0 additions & 33 deletions
This file was deleted.

ci/install.sh

Lines changed: 0 additions & 47 deletions
This file was deleted.

ci/script.sh

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)