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

use ToString trait to get GLib error description #178

Merged
merged 1 commit into from Jan 10, 2019

use ToString trait to get GLib error description

a64aa88
Select commit
Merged
Travis CI / Travis CI - Pull Request required action Jan 9, 2019 in 18m 10s

Build Errored

The build errored.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #178 use ToString trait to get GLib error description.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has two jobs, running in parallel.

Job Rust OS State
177.1 Desktop build nightly Linux errored
177.2 Android build nightly Linux passed

Build Configuration

Build Option Setting
Language Rust
Operating System Linux (Trusty)
Sudo Access required
Rust Version nightly
Build Configuration
{
  "os": [
    "linux"
  ],
  "dist": "trusty",
  "rust": [
    "nightly"
  ],
  "sudo": "required",
  "group": "stable",
  "matrix": {
    "include": [
      {
        "name": "Desktop build",
        "addons": {
          "apt": {
            "packages": [
              "libpulse-dev",
              "pulseaudio",
              "pulseaudio-utils",
              "dbus-x11"
            ]
          }
        },
        "script": [
          "cargo build",
          "ls examples/*.rs | xargs -I{} basename  {} .rs  | grep -v params_connect | RUST_BACKTRACE=1 GST_DEBUG=3 xargs -I{} cargo ex {}"
        ],
        "services": [
          "pulseaudio"
        ],
        "before_install": [
          "curl -L http://servo-deps.s3.amazonaws.com/gstreamer/gstreamer-x86_64-linux-gnu.tar.gz | tar xz",
          "sed -i \"s;prefix=/root/gstreamer;prefix=$PWD/gstreamer;g\" $PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig/*.pc",
          "export PKG_CONFIG_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/pkgconfig",
          "export GST_PLUGIN_SYSTEM_PATH=$GST_PLUGIN_SYSTEM_PATH:/usr/lib/x86_64-linux-gnu/gstreamer-1.0:$PWD/gstreamer/lib/x86_64-linux-gnu/gstreamer-1.0",
          "export GST_PLUGIN_SCANNER=$PWD/gstreamer/libexec/gstreamer-1.0/gst-plugin-scanner",
          "export PATH=$PATH:$PWD/gstreamer/bin",
          "export LD_LIBRARY_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH",
          "export DISPLAY=:99.0;",
          "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset;"
        ]
      },
      {
        "name": "Android build",
        "script": [
          "cd examples/android",
          "source build.sh"
        ],
        "before_install": [
          "curl -sSf https://build.travis-ci.org/files/rustup-init.sh | sh -s -- --default-toolchain=nightly -y",
          "source $HOME/.cargo/env",
          "rustup target add arm-linux-androideabi",
          "wget https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -O ndk.zip",
          "unzip ndk.zip > /dev/null",
          "export NDK_HOME=`pwd`/android-ndk-r16b",
          "${NDK_HOME}/build/tools/make_standalone_toolchain.py --arch arm --api 21 --install-dir android-21-armv7-toolchain",
          "echo \"[target.arm-linux-androideabi]\" >> examples/android/lib/.cargo/config",
          "echo \"linker = \\\"`pwd`/android-21-armv7-toolchain/bin/arm-linux-androideabi-gcc\\\"\" >> examples/android/lib/.cargo/config",
          "echo \"ar = \\\"`pwd`/android-21-armv7-toolchain/bin/arm-linux-androideabi-ar\\\"\" >> examples/android/lib/.cargo/config",
          "cat examples/android/lib/.cargo/config"
        ]
      }
    ]
  },
  ".result": "configured",
  "language": "rust"
}
You can’t perform that action at this time.