This commit is contained in:
Adrian Wozniak 2019-05-27 20:01:40 +02:00
parent 3d1d99b53e
commit 59e6b9ac00

View File

@ -3,15 +3,20 @@ rust:
- nightly - nightly
script: script:
- cargo build --verbose --all - cargo build --verbose --all
- | - cargo run -p rider-generator
export XDG_RUNTIME_DIR=$(pwd) - RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin || echo 0
export XDG_BIN_HOME=$HOME/.local/bin - cargo tarpaulin --all --ciserver circle-ci --out Xml
rustup run nightly cargo run -p rider-generator - wget -O - -q "https://codecov.io/bash" > .codecov
- chmod +x .codecov
- ./.codecov -t $CODECOV_TOKEN
- echo "Uploaded code coverage"
env: env:
- CODECOV_TOKEN: "e58da505-19f2-481c-8068-e845cb36fbe4" - CODECOV_TOKEN: "e58da505-19f2-481c-8068-e845cb36fbe4"
- TZ: "/usr/share/zoneinfo/Europe/Paris" - TZ: "/usr/share/zoneinfo/Europe/Paris"
- rider-config: "1" - rider-config: "1"
before_install: before_install:
- export XDG_RUNTIME_DIR=$(pwd)
- export XDG_BIN_HOME=$HOME/.local/bin
- sudo apt-get install -y -qq xvfb mesa-utils mesa-vdpau-drivers - sudo apt-get install -y -qq xvfb mesa-utils mesa-vdpau-drivers
- sudo apt-get install -y libssl-dev pkg-config cmake zlib1g-dev - sudo apt-get install -y libssl-dev pkg-config cmake zlib1g-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 - 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