Skip to content
Snippets Groups Projects
Unverified Commit 71cf27c0 authored by Ian Douglas Scott's avatar Ian Douglas Scott
Browse files

Build for Redox on Travis

parent 990a35dc
No related branches found
No related tags found
No related merge requests found
[target.x86_64-unknown-redox]
linker = "x86_64-unknown-redox-gcc"
.*
!.cargo
!.travis
cachegrind.*
perf.*
target
......
language: rust
rust:
- nightly
sudo: false
sudo: true
notifications:
email: false
env:
- REDOX=
- REDOX=1 CC=x86_64-unknown-redox-gcc CARGO_ARGS='--target=x86_64-unknown-redox'
before_install:
- if [ $REDOX ]; then ./.travis/redox-toolchain.sh; fi
script:
- cargo build
- cargo test
- bash examples/run_examples.sh
- cargo build $CARGO_ARGS
- if [ ! $REDOX ]; then cargo test; fi
- if [ ! $REDOX ]; then bash examples/run_examples.sh; fi
#!/bin/bash
rustup target add x86_64-unknown-redox
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AA12E97F0881517F
sudo add-apt-repository 'deb https://static.redox-os.org/toolchain/apt /'
sudo apt-get update -qq
sudo apt-get install -y x86-64-unknown-redox-gcc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment