fork/livesplit-core

git clone https://git.julia.blue/fork/livesplit-core

Christopher SerrRelease v0.5.106e2f47

v0.5.1
4.0 KiB123 linesraw
1# Based on the "trust" template v0.1.1
2# https://github.com/japaric/trust/tree/v0.1.1
3
4dist: trusty
5language: rust
6services: docker
7sudo: required
8
9# TODO Rust builds on stable by default, this can be
10# overridden on a case by case basis down below.
11# rust: stable not specified in order to avoid making
12# a default job.
13
14env:
15  global:
16    # TODO Update this to match the name of your project.
17    - CRATE_NAME=livesplit-core
18
19matrix:
20  # TODO These are all the build jobs. Adjust as necessary. Comment out what you
21  # don't need
22  include:
23    # Linux
24    - env: TARGET=i686-unknown-linux-gnu
25    - env: TARGET=i686-unknown-linux-musl
26    - env: TARGET=x86_64-unknown-linux-gnu
27    - env: TARGET=x86_64-unknown-linux-musl
28
29    # iOS
30    - env: TARGET=aarch64-apple-ios DISABLE_TESTS=1
31      os: osx
32    - env: TARGET=armv7-apple-ios DISABLE_TESTS=1
33      os: osx
34    - env: TARGET=armv7s-apple-ios DISABLE_TESTS=1
35      os: osx
36    - env: TARGET=i386-apple-ios DISABLE_TESTS=1
37      os: osx
38    - env: TARGET=x86_64-apple-ios DISABLE_TESTS=1
39      os: osx
40
41    # Android
42    - env: TARGET=arm-linux-androideabi DISABLE_TESTS=1
43    - env: TARGET=aarch64-linux-android DISABLE_TESTS=1
44    - env: TARGET=armv7-linux-androideabi DISABLE_TESTS=1
45    - env: TARGET=i686-linux-android DISABLE_TESTS=1
46
47    # OSX
48    - env: TARGET=i686-apple-darwin
49      os: osx
50    - env: TARGET=x86_64-apple-darwin
51      os: osx
52
53    # *BSD
54    - env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1
55    - env: TARGET=x86_64-unknown-freebsd DISABLE_TESTS=1
56    - env: TARGET=x86_64-unknown-netbsd DISABLE_TESTS=1
57
58    # Other architectures
59    - env: TARGET=aarch64-unknown-linux-gnu
60    - env: TARGET=armv7-unknown-linux-gnueabihf
61    - env: TARGET=mips-unknown-linux-gnu
62    - env: TARGET=mips64-unknown-linux-gnuabi64
63    - env: TARGET=mips64el-unknown-linux-gnuabi64
64    - env: TARGET=mipsel-unknown-linux-gnu
65    - env: TARGET=powerpc-unknown-linux-gnu
66    - env: TARGET=powerpc64-unknown-linux-gnu
67    - env: TARGET=powerpc64le-unknown-linux-gnu
68    - env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1
69
70    # Testing other channels
71    - env: TARGET=x86_64-unknown-linux-gnu
72      rust: nightly
73    - env: TARGET=x86_64-apple-darwin
74      os: osx
75      rust: nightly
76
77before_install: set -e
78
79install:
80  - sh ci/install.sh
81  - source ~/.cargo/env || true
82
83script:
84  - bash ci/script.sh
85
86after_script: set +e
87
88before_deploy:
89  - sh ci/before_deploy.sh
90
91deploy:
92  # TODO update `api_key.secure`
93  # - Create a `public_repo` GitHub token. Go to: https://github.com/settings/tokens/new
94  # - Encrypt it: `travis encrypt YOUR_TOKEN`
95  # - Paste the output down here
96  api_key:
97    secure: "pKwa9SjJVenEk2MwFh3pVv6MO+Z//Ng4RG6ZvMxHDsfuElFpU6obMs6dvK0tUFNBQMayXxMhJMKz2ZD+eiOtyOmJY218QxsfkyqazwakvXLasrGtKtyp7pzkNHaiE8o73Mr+9MudUiqWIg8y+X1lTV1A5GN+i1jprGZip0RV+qHeZtpNkYjX/99+Xh5Z/Wp9rCcxO+flyWjbpA151Bqx/QX88usCpIXEH9uJOHjQd/VHuPQoxOw6RiyAleF1EfHfor+/0uHbHNHjulm4U5hCjAoQGm0RppA1rMBg5y36lXLg5Ophz+PREzJl6Xj9rW2ExPRkHYqrkmfUKAjNeJQVNnN1xu84ngND5YRUzsDBk1t3XDvY1DSdqosSsjSZ99XvJrrbTFoF12WpKBKFCaTQHp26Fn5oNh9I/ZNW7I9Jzqga2PubxCiSR9L2DtCaw5Y2nKFn54+VMF4U4pa6fnCsw2o72qTFkpLwba+oFnrUT+dXoUpvPMcBeZSb4HuV0LKfkN2e3WHPZKRbJAFfmjVVJ083HYIpp7lohBKFNMtbrcXNdAtD0y2xb+SlzKo/ZIQnTJw3lW5+n4PCzso1OlIwUiEx0ZN2V3jHC6ZOrqMNdnFn3NZq4aOBzQdi493gPnhIiJlyywEn93UXTyTXirpsNL99GlUo3iX6nbh8LbgAjQY="
98  file_glob: true
99  file: $CRATE_NAME-$TRAVIS_TAG-$TARGET.*
100  on:
101    # TODO Here you can pick which targets will generate binary releases
102    # In this example, there are some targets that are tested using the stable
103    # and nightly channels. This condition makes sure there is only one release
104    # for such targets and that's generated using the stable channel
105    condition: $TRAVIS_RUST_VERSION = stable
106    tags: true
107  provider: releases
108  skip_cleanup: true
109
110cache: cargo
111before_cache:
112  # Travis can't cache files that are not readable by "others"
113  - chmod -R a+r $HOME/.cargo
114
115# branches:
116#   only:
117#     # release tags
118#     - /^v\d+\.\d+\.\d+.*$/
119#     - master
120
121notifications:
122  email:
123    on_success: never