Fix travis build
This commit is contained in:
parent
96c9cb466b
commit
71e4b7b740
17
.travis.yml
17
.travis.yml
@ -15,18 +15,27 @@ addons:
|
|||||||
- libnotify-dev
|
- libnotify-dev
|
||||||
- libx11-dev
|
- libx11-dev
|
||||||
- pkg-config
|
- pkg-config
|
||||||
|
# for build.sh
|
||||||
|
- gperf
|
||||||
|
- libegl1-mesa-dev
|
||||||
|
- libfreetype6-dev
|
||||||
|
- libmount-dev
|
||||||
|
- libpng-dev
|
||||||
|
- libxml-parser-perl
|
||||||
|
- libxtst-dev
|
||||||
|
- xutils-dev
|
||||||
before_script:
|
before_script:
|
||||||
- |
|
- |
|
||||||
pip install 'travis-cargo<0.2' --user &&
|
pip install 'travis-cargo<0.2' --user &&
|
||||||
export PATH=$HOME/.local/bin:$PATH
|
export PATH=$HOME/.local/bin:$PATH
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
travis-cargo build
|
./.travis/build.sh
|
||||||
# travis-cargo test &&
|
# travis-cargo test &&
|
||||||
# travis-cargo --only stable doc
|
# travis-cargo --only stable doc
|
||||||
# after_success:
|
# after_success:
|
||||||
# - travis-cargo --only stable doc-upload
|
# - travis-cargo --only stable doc-upload
|
||||||
# env:
|
env:
|
||||||
# global:
|
global:
|
||||||
# - TRAVIS_CARGO_NIGHTLY_FEATURE=""
|
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
|
||||||
# - secure:
|
# - secure:
|
||||||
|
15
.travis/build.sh
Executable file
15
.travis/build.sh
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -x
|
||||||
|
set -e
|
||||||
|
|
||||||
|
BUNDLE="gtk-3.18.1-2"
|
||||||
|
WD="$PWD"
|
||||||
|
cd "$HOME"
|
||||||
|
git clone https://github.com/gkoz/gtk-bootstrap.git
|
||||||
|
cd gtk-bootstrap
|
||||||
|
./bootstrap.sh "$WD/.travis/manifest.txt"
|
||||||
|
cd "$WD"
|
||||||
|
export PKG_CONFIG_PATH="$HOME/local/lib/pkgconfig"
|
||||||
|
|
||||||
|
travis-cargo build
|
13
.travis/manifest.txt
Normal file
13
.travis/manifest.txt
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
https://dbus.freedesktop.org/releases/dbus/dbus-1.11.14.tar.gz
|
||||||
|
https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz
|
||||||
|
https://github.com/anholt/libepoxy/releases/download/1.4.3/libepoxy-1.4.3.tar.xz
|
||||||
|
https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.12.4.tar.gz
|
||||||
|
https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.4.6.tar.bz2
|
||||||
|
https://download.gnome.org/sources/glib/2.53/glib-2.53.3.tar.xz
|
||||||
|
https://download.gnome.org/sources/atk/2.25/atk-2.25.2.tar.xz
|
||||||
|
https://download.gnome.org/sources/at-spi2-core/2.25/at-spi2-core-2.25.4.tar.xz
|
||||||
|
https://download.gnome.org/sources/at-spi2-atk/2.25/at-spi2-atk-2.25.3.tar.xz
|
||||||
|
https://www.cairographics.org/releases/cairo-1.14.10.tar.xz
|
||||||
|
https://download.gnome.org/sources/pango/1.40/pango-1.40.6.tar.xz
|
||||||
|
https://download.gnome.org/sources/gdk-pixbuf/2.36/gdk-pixbuf-2.36.6.tar.xz
|
||||||
|
https://download.gnome.org/sources/gtk+/3.22/gtk+-3.22.16.tar.xz
|
Loading…
Reference in New Issue
Block a user