Travis
This commit is contained in:
parent
ebbe456247
commit
005656a109
@ -10,15 +10,15 @@ jobs:
|
|||||||
image: ubuntu-1604:201903-01
|
image: ubuntu-1604:201903-01
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
# - restore_cache:
|
||||||
key: project-cache
|
# key: project-cache
|
||||||
- run:
|
- run:
|
||||||
name: Install dependencies
|
name: Install dependencies
|
||||||
command: |
|
command: |
|
||||||
apt-get update
|
sudo apt-get update
|
||||||
apt-get install -y -qq xvfb mesa-utils mesa-vdpau-drivers
|
sudo apt-get install -y -qq xvfb mesa-utils mesa-vdpau-drivers
|
||||||
apt-get install -y libssl-dev pkg-config cmake zlib1g-dev
|
sudo apt-get install -y libssl-dev pkg-config cmake zlib1g-dev
|
||||||
apt-get install -q -y libsdl2-dev libsdl2-2.0-0 libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev
|
sudo apt-get install -q -y libsdl2-dev libsdl2-2.0-0 libsdl2-gfx-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev
|
||||||
- run:
|
- run:
|
||||||
name: Check formatting
|
name: Check formatting
|
||||||
command: |
|
command: |
|
||||||
|
11
.travis.yml
Normal file
11
.travis.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
language: rust
|
||||||
|
rust:
|
||||||
|
- stable
|
||||||
|
- beta
|
||||||
|
- nightly
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
- rust: nightly
|
||||||
|
script:
|
||||||
|
- cargo build --verbose --all
|
||||||
|
- cargo test --verbose --all
|
Loading…
Reference in New Issue
Block a user