Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GGEZ: v0.4 -> 0.5.0-rc.0 #426

Merged
merged 2 commits into from Feb 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
32 changes: 4 additions & 28 deletions .travis.yml
@@ -1,13 +1,11 @@
language: rust

# TODO: find a way to install SDL2 without sudo and disable it:
sudo: true

addons:
apt:
update: true
packages:
- libasound2-dev
- libasound2-dev
- libudev-dev

rust:
- nightly
Expand All @@ -22,30 +20,8 @@ os:
- osx
- windows

before_install:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
wget http://libsdl.org/release/SDL2-2.0.5.tar.gz
&& tar -xzvf SDL2-2.0.5.tar.gz
&& pushd SDL2-2.0.5
&& ./configure --prefix=/usr
&& make
&& sudo make install
&& popd;
fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
brew update && brew install sdl2;
fi
- if [ "${TRAVIS_OS_NAME}" = "windows" ]; then
curl -O https://www.libsdl.org/release/SDL2-devel-2.0.5-VC.zip
&& ls
&& 7z x SDL2-devel-2.0.5-VC.zip
&& ls
&& cp SDL2-2.0.5/lib/x64/* .
&& ls;
fi

before_script:
- rustup component list
- rustup component list

script:
- cargo build --all
Expand All @@ -67,7 +43,7 @@ jobs:
script:
- cargo fmt --all -- --check
- name: clippy
rust: nightly-2018-12-05
rust: stable
install:
- rustup component add clippy
- cargo clippy -V
Expand Down