Update .travis.yml

This commit is contained in:
Jeremy Soller 2016-11-05 08:42:27 -06:00 committed by GitHub
parent e4104bcc93
commit 2225241b95

View file

@ -1,20 +1,22 @@
sudo: false sudo: required
language: rust language: rust
rust: rust:
- nightly - nightly
addons:
apt:
packages:
- nasm
- libfuse-dev
os: os:
- linux - linux
- osx
before_install: before_install:
- if [ `uname` = "Darwin" ]; then - if [ `uname` = "Darwin" ]; then
brew tap nashenas88/gcc_cross_compilers; brew tap nashenas88/gcc_cross_compilers;
brew update; brew update;
brew unlink gcc; brew unlink gcc;
brew install nashenas88/gcc_cross_compilers/i386-elf-binutils nashenas88/gcc_cross_compilers/i386-elf-gcc nasm; brew install nashenas88/gcc_cross_compilers/x86_64-elf-binutils nashenas88/gcc_cross_compilers/x86_64-elf-gcc nasm;
fi
- if [ `uname` = "Linux" ]; then
sudo apt-get install -qq nasm pkg-config fuse;
sudo modprobe fuse;
sudo chmod 666 /dev/fuse;
sudo chown root:$USER /etc/fuse.conf;
fi fi
script: script:
- make clean - make clean