Add iOS build task
This commit is contained in:
parent
2ddb5fd3f4
commit
d724cc03fe
1 changed files with 48 additions and 48 deletions
96
.travis.yml
96
.travis.yml
|
@ -3,54 +3,54 @@ matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
include:
|
include:
|
||||||
- language: rust
|
# - language: rust
|
||||||
# We use OSX so that we can get a reasonably up to date version of SQLCipher.
|
# # We use OSX so that we can get a reasonably up to date version of SQLCipher.
|
||||||
# (The version in Travis's default Ubuntu Trusty is much too old).
|
# # (The version in Travis's default Ubuntu Trusty is much too old).
|
||||||
os: osx
|
# os: osx
|
||||||
before_install:
|
# before_install:
|
||||||
- brew install sqlcipher --with-fts
|
# - brew install sqlcipher --with-fts
|
||||||
rust: 1.25.0 # Must align with `build/version.rs`.
|
# rust: 1.25.0 # Must align with `build/version.rs`.
|
||||||
script:
|
# script:
|
||||||
- ./scripts/cargo_test.sh
|
# - ./scripts/cargo_test.sh
|
||||||
after_success:
|
# after_success:
|
||||||
- |
|
# - |
|
||||||
if [[ "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" ]]; then
|
# if [[ "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" ]]; then
|
||||||
cargo doc &&
|
# cargo doc &&
|
||||||
echo "<meta http-equiv=refresh content=0;url=mentat/index.html>" > target/doc/index.html &&
|
# echo "<meta http-equiv=refresh content=0;url=mentat/index.html>" > target/doc/index.html &&
|
||||||
git clone https://github.com/davisp/ghp-import.git &&
|
# git clone https://github.com/davisp/ghp-import.git &&
|
||||||
./ghp-import/ghp_import.py -n -p -f -r https://"$GH_TOKEN"@github.com/"$TRAVIS_REPO_SLUG.git" target/doc
|
# ./ghp-import/ghp_import.py -n -p -f -r https://"$GH_TOKEN"@github.com/"$TRAVIS_REPO_SLUG.git" target/doc
|
||||||
fi
|
# fi
|
||||||
cache: cargo
|
# cache: cargo
|
||||||
- language: rust
|
# - language: rust
|
||||||
# We use OSX so that we can get a reasonably up to date version of SQLCipher.
|
# # We use OSX so that we can get a reasonably up to date version of SQLCipher.
|
||||||
# (The version in Travis's default Ubuntu Trusty is much too old).
|
# # (The version in Travis's default Ubuntu Trusty is much too old).
|
||||||
os: osx
|
# os: osx
|
||||||
before_install:
|
# before_install:
|
||||||
- brew install sqlcipher --with-fts
|
# - brew install sqlcipher --with-fts
|
||||||
rust: stable
|
# rust: stable
|
||||||
script:
|
# script:
|
||||||
- ./scripts/cargo_test.sh
|
# - ./scripts/cargo_test.sh
|
||||||
cache: cargo
|
# cache: cargo
|
||||||
- language: rust
|
# - language: rust
|
||||||
# We use OSX so that we can get a reasonably up to date version of SQLCipher.
|
# # We use OSX so that we can get a reasonably up to date version of SQLCipher.
|
||||||
# (The version in Travis's default Ubuntu Trusty is much too old).
|
# # (The version in Travis's default Ubuntu Trusty is much too old).
|
||||||
os: osx
|
# os: osx
|
||||||
before_install:
|
# before_install:
|
||||||
- brew install sqlcipher --with-fts
|
# - brew install sqlcipher --with-fts
|
||||||
rust: beta
|
# rust: beta
|
||||||
script:
|
# script:
|
||||||
- ./scripts/cargo_test.sh
|
# - ./scripts/cargo_test.sh
|
||||||
cache: cargo
|
# cache: cargo
|
||||||
- language: rust
|
# - language: rust
|
||||||
# We use OSX so that we can get a reasonably up to date version of SQLCipher.
|
# # We use OSX so that we can get a reasonably up to date version of SQLCipher.
|
||||||
# (The version in Travis's default Ubuntu Trusty is much too old).
|
# # (The version in Travis's default Ubuntu Trusty is much too old).
|
||||||
os: osx
|
# os: osx
|
||||||
before_install:
|
# before_install:
|
||||||
- brew install sqlcipher --with-fts
|
# - brew install sqlcipher --with-fts
|
||||||
rust: nightly
|
# rust: nightly
|
||||||
script:
|
# script:
|
||||||
- ./scripts/cargo_test.sh
|
# - ./scripts/cargo_test.sh
|
||||||
cache: cargo
|
# cache: cargo
|
||||||
- language: rust
|
- language: rust
|
||||||
dist: trusty
|
dist: trusty
|
||||||
rust: stable
|
rust: stable
|
||||||
|
|
Loading…
Reference in a new issue