diff options
author | Claudio André <claudioandre.br@gmail.com> | 2017-02-12 09:07:13 -0200 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2017-02-14 20:02:30 -0800 |
commit | 838bfd7a314cdb20cfc8c6c41cb57ba2991630b9 (patch) | |
tree | 9eda35725ca6d7c28a714d5af267aa01cbee8374 | |
parent | 566e5a3c76bd8101ab7c80ea2c0622585c374dfd (diff) | |
download | gjs-838bfd7a314cdb20cfc8c6c41cb57ba2991630b9.tar.gz |
CI: upgrade to Mozilla SpiderMonkey 38
https://bugzilla.gnome.org/show_bug.cgi?id=776549
-rwxr-xr-x | test/travis-ci.sh | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/test/travis-ci.sh b/test/travis-ci.sh index 0cfc5804..7bc37b2e 100755 --- a/test/travis-ci.sh +++ b/test/travis-ci.sh @@ -8,7 +8,7 @@ function do_Install_Base_Dependencies(){ apt-get update -qq # Base dependencies - apt-get -y -qq install build-essential git clang patch \ + apt-get -y -qq install build-essential git clang patch python-dev \ autotools-dev autoconf gettext pkgconf autopoint yelp-tools \ docbook docbook-xsl libtext-csv-perl \ zlib1g-dev \ @@ -21,7 +21,7 @@ function do_Install_Base_Dependencies(){ dnf -y -q upgrade # Base dependencies - dnf -y -q install @c-development @development-tools redhat-rpm-config gnome-common \ + dnf -y -q install @c-development @development-tools redhat-rpm-config gnome-common python-devel \ pygobject2 dbus-python perl-Text-CSV perl-XML-Parser gettext-devel gtk-doc ninja-build \ zlib-devel libffi-devel \ libtool libicu-devel nspr-devel @@ -118,6 +118,7 @@ function do_Configure_JHBuild(){ module_autogenargs['gjs'] = "$autogenargs" module_makeargs['gjs'] = '-s' skip = ['gettext', 'yelp-xsl', 'yelp-tools', 'gtk-doc'] +use_local_modulesets = True EOFILE echo '-- Done --' @@ -135,18 +136,26 @@ function do_Build_JHBuild(){ make -sj2 make install PATH=$PATH:~/.local/bin - git reset --hard HEAD + + if [[ $1 == "RESET" ]]; then + git reset --hard HEAD + fi } function do_Build_Mozilla(){ echo - echo '-- Building Mozilla 31 --' + echo '-- Building Mozilla SpiderMonkey --' # Build Mozilla Stuff if [[ -n "$SHELL" ]]; then export SHELL=/bin/bash fi - jhbuild build mozjs31 + + #TODO Fix this upstream + #STOP! /root/jhbuild/checkout/mozjs-38.0.0/js/src/configure.in has changed, and your configure is out of date. + jhbuild update mozjs38 + touch ~/jhbuild/checkout/mozjs-38.0.0/js/src/configure + jhbuild build mozjs38 } function do_Build_Package_Dependencies(){ @@ -203,7 +212,7 @@ if [[ $1 == "BUILD_MOZ" ]]; then do_Show_Compiler do_Patch_JHBuild - do_Build_JHBuild + do_Build_JHBuild RESET do_Build_Mozilla do_Save_Files |