Return an error rather than panicking if surface creation fails in macOS #160
+23
−8
Travis CI / Travis CI - Pull Request
succeeded
Mar 26, 2020
in
6m 12s
Build Passed
The build passed, just like the previous build.
Details
This is a pull request build.
It is running a build against the merge commit, after merging #160 Return an error rather than panicking if surface creation fails in macOS.
Any changes that have been made to the master branch before the build ran are also included.
Jobs and Stages
This build has six jobs, running in parallel.
| Job | Rust | OS | State |
|---|---|---|---|
| nightly | Linux | passed | |
| stable | Linux | passed | |
| nightly | macOS | passed | |
| stable | macOS | passed | |
| nightly | windows | passed | |
| stable | windows | passed |
Build Configuration
| Build Option | Setting |
|---|---|
| Language | Rust |
| Operating System | Linux (Xenial), macOS, windows |
| Rust Versions | nightly, stable |
Build Configuration
{
"language": "rust",
"os": [
"linux",
"osx",
"windows"
],
"dist": "xenial",
"rust": [
"nightly",
"stable"
],
"sudo": false,
"addons": {
"apt": {
"sources": [
{
"name": "ubuntu-toolchain-r-test"
}
],
"packages": [
"gcc-4.8",
"g++-4.8",
"libxxf86vm-dev",
"libosmesa6-dev",
"libgles2-mesa-dev",
"gcc-arm-linux-androideabi"
]
}
},
"before_install": [
"if [ \"$TRAVIS_OS_NAME\" = \"linux\" ]; then export CXX=g++-4.8; rustup target add arm-linux-androideabi; fi"
],
"script": [
"cd surfman",
"cargo build --verbose",
"cargo build --verbose --features=sm-angle-default",
"cargo build --verbose --features=sm-wayland-default",
"cargo build --verbose --features=sm-winit",
"rustup target add arm-linux-androideabi",
"cargo build --verbose --target=arm-linux-androideabi",
"rustup target add aarch64-pc-windows-msvc",
"cargo build --verbose --target=aarch64-pc-windows-msvc"
]
}