Remove more gclient from travis.yml, cleanup.

This commit is contained in:
hillsp
2016-11-11 12:05:28 -05:00
committed by GitHub
parent 93223446ed
commit 4b844abf3b
-9
View File
@@ -3,23 +3,14 @@ install:
- sudo sh -c 'echo "deb http://opensource.wandisco.com/ubuntu precise svn18" >> /etc/apt/sources.list.d/subversion18.list'
- sudo wget -q http://opensource.wandisco.com/wandisco-debian.gpg -O- | sudo apt-key add -
- sudo apt-get update 2>&1 > /dev/null
- mkdir -p ~/build_directory
- mv $TRAVIS_BUILD_DIR ~/build_directory/src
- sudo apt-get install apache2 g++ python subversion gperf make devscripts fakeroot git curl netcat-traditional gcc-mozilla clang-3.4 php5-common php5 php5-cgi libapache2-mod-php5 redis-server 2>&1 > /dev/null
- nohup php-cgi -b 127.0.0.1:9000 &
- sudo mv /bin/nc.traditional /usr/bin/nc
- export PATH=/usr/lib/gcc-mozilla/bin:$PATH
- sudo sh -c 'echo "image/webp webp" >> /etc/mime.types'
- mkdir -p ~/bin
- cd ~/bin
- git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
- cd ~/build_directory/src
- python build/gyp_chromium --depth=.
- make AR.host=`pwd`/build/wrappers/ar.sh AR.target=`pwd`/build/wrappers/ar.sh BUILDTYPE=Release -j3
- make BUILDTYPE=Release AR.host=`pwd`/build/wrappers/ar.sh AR.target=`pwd`/build/wrappers/ar.sh linux_package_deb_stable
- sudo dpkg -i out/Release/mod-pagespeed*.deb
script:
- cd ~/build_directory/src
- ./install/run_program_with_ext_caches.sh ./out/Release/mod_pagespeed_test '&&' ./out/Release/pagespeed_automatic_test
- find . -name "*.sh" | xargs chmod +x
- cd install