-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
54 lines (54 loc) · 1.98 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
dist: trusty
language: rust
services: docker
sudo: required
env:
global:
- CRATE_NAME=asymptote
- CPU=
- FEATURES=
matrix:
include:
- env: TARGET=x86_64-unknown-linux-gnu FEATURES=-popcnt NAME=linux-64bit
- env: TARGET=x86_64-unknown-linux-gnu FEATURES=+popcnt NAME=linux-64bit-popcount
- env: TARGET=x86_64-unknown-linux-gnu CPU=broadwell NAME=linux-64bit-broadwell
- env: TARGET=x86_64-apple-darwin FEATURES=-popcnt NAME=osx-64bit
os: osx
- env: TARGET=x86_64-apple-darwin FEATURES=+popcnt NAME=osx-64bit-popcount
os: osx
- env: TARGET=x86_64-unknown-linux-gnu FEATURES=-popcnt NAME=linux-64bit-nightly
rust: nightly
- env: TARGET=x86_64-unknown-linux-gnu FEATURES=+popcnt NAME=linux-64bit-popcount-nightly
rust: nightly
before_install:
- set -e
- rustup self update
install:
- sh ci/install.sh
- source ~/.cargo/env || true
script:
- bash ci/script.sh
after_script: set +e
before_deploy:
- sh ci/before_deploy.sh
deploy:
api_key:
secure: pSVYc9d155XgELoi1MidxD7fE73ddNoYhwAEYCIWNjcTQbzn1Ppq9Hl/fGY6radvAOwmJmi3ynJzPknAbvMpJthbTI+53kH8vjOve234UeHkWZp5YLqXWTyXtwH5zxrIg/wqWT5oJNRfUGgPAiSg5lZfkYiekp6gXDwFeCBI8bbtsiT2NuGPI6NcJbz0ypr+zTBgGQaopomIDM/jh++CaVweQlVQB0qcGM9mT3sjxHLgSMzFh57Ozy4Rl8b5onheDQLIjLT30uccokdFCG7Zvzj3F0izenikiPyLnAYCVz6HWQlnuAw6hOwpNBu8Rc/gX/4b3odBHL3fZmAMUg81lJ+4OqChPXnNzRcFMXi9zJ12yLoZh865vCqslf6GYVOF3Rmmf6cZSMVpTwf6N9IMwdWzra6GhKcknHaAY+n33ibV1m8NYH6R95VS6iUNpSbd4K12jOJXis7YFQqxAt6gs6qL7zOsYH0i4maAWkSaRW7NxmpJb/RWomMQO224T5qjsTi1/7OnbMQwUdFu1f5E1rUp8z354Pl7wHlsHrIy8Ykh08t0T6Sj+iJuXg9WbkhIvoGNbUOIR7qAZimdmdX4TSvAqcELsNGm+x6EijvlovFWt6gN3LdyJTFYeXbZbGRkTVXMLVrhNT8b33N2Z13hUPxSNxTjU+8Sf0O78XESNV8=
file_glob: true
file: "$CRATE_NAME-$TRAVIS_TAG-$NAME.*"
on:
condition: "$TRAVIS_RUST_VERSION = stable"
tags: true
provider: releases
skip_cleanup: true
cache: cargo
before_cache:
- chmod -R a+r $HOME/.cargo
branches:
only:
- "/^v\\d+\\.\\d+\\.\\d+.*$/"
- "/^v\\d+\\.\\d+.*$/"
- master
notifications:
email:
on_success: never