This commit is contained in:
Adrian Wozniak 2019-05-27 19:48:54 +02:00
parent ebbe456247
commit 005656a109
2 changed files with 17 additions and 6 deletions

View File

@ -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
View 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