forked from ezrosent/allocators-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (31 loc) · 930 Bytes
/
.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
# Copyright 2017 the authors. See the 'Copyright and license' section of the
# README.md file at the top-level directory of this repository.
#
# Licensed under the Apache License, Version 2.0 (the LICENSE-APACHE file) or
# the MIT license (the LICENSE-MIT file) at your option. This file may not be
# copied, modified, or distributed except according to those terms.
language: rust
rust:
- nightly
- beta
- stable
os:
- linux
- osx
# Load travis-cargo
before_script:
- pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
script:
- set -x; set -e; for script in */travis.sh; do
dir=$(dirname "$script");
file=$(basename "$script");
pushd "$dir";
./$file;
popd;
done
- ./test-scripts/check-copyright-comments.sh
env:
global:
# Override the default `--features unstable` used for the nightly branch
- TRAVIS_CARGO_NIGHTLY_FEATURE=""