-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #274 from mrVanDalo/feature/travis
fix openssl dependency and introduce travis
- Loading branch information
Showing
4 changed files
with
123 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# https://travis-ci.org/denisidoro/navi | ||
language: rust | ||
|
||
jobs: | ||
include: | ||
|
||
- name: run tests | ||
rust: stable | ||
script: | ||
- cargo test --all --locked | ||
- rustup component add rustfmt-preview | ||
- cargo fmt --all -- --check | ||
env: RUST_BACKTRACE=1 | ||
|
||
- name: build binary on ubuntu | ||
rust: stable | ||
script: cargo build --release --locked | ||
|
||
- name: build binary for x86_64-unknown-linux-musl | ||
rust: stable | ||
script: | ||
- cargo install cross | ||
- cross build --release --locked --target x86_64-unknown-linux-musl | ||
|
||
- name: build binary for aarch64-linux-android | ||
rust: stable | ||
script: | ||
- cargo install cross | ||
- cross build --release --locked --target aarch64-linux-android | ||
|
||
- name: build binary for armv7-linux-androideabi | ||
rust: stable | ||
script: | ||
- cargo install cross | ||
- cross build --release --locked --target armv7-linux-androideabi | ||
|
||
- name: build binary for armv7-unknown-linux-musleabihf | ||
rust: stable | ||
script: | ||
- cargo install cross | ||
- cross build --release --locked --target armv7-unknown-linux-musleabihf | ||
|
||
- name: build binary on osx | ||
os: osx | ||
rust: stable | ||
script: cargo build --release --locked | ||
|
||
notifications: | ||
irc: | ||
on_failure: always | ||
channels: | ||
- "irc.freenode.net#navi" | ||
template: | ||
- "%{result} - %{repository_slug} %{branch} \"%{commit_subject}\" %{build_url}" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.