mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
auto merge of #3909 : SimonSapin/servo/remove-travis-files, r=jdm
This commit is contained in:
commit
667b511ae3
3 changed files with 0 additions and 97 deletions
|
@ -1,15 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
case ${TRAVIS_OS_NAME} in
|
||||
linux)
|
||||
/usr/bin/Xorg :1 -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./xorg.log -config etc/ci/xorg.conf &
|
||||
|
||||
# Patch the broken font config files on ubuntu 12.04 lts - this should be removed when travis moves to ubuntu 14.04 lts
|
||||
sudo cp etc/ci/fontconfig/* /etc/fonts/conf.avail/
|
||||
;;
|
||||
|
||||
osx)
|
||||
;;
|
||||
esac
|
|
@ -1,28 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
case ${TRAVIS_OS_NAME} in
|
||||
linux)
|
||||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
||||
sudo apt-get update -q
|
||||
sudo apt-get install -qq --force-yes -y xserver-xorg-input-void xserver-xorg-video-dummy xpra
|
||||
sudo apt-get install -qq --force-yes -y gperf libXxf86vm-dev libstdc++6-4.7-dev
|
||||
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
|
||||
sudo apt-get install ttf-mscorefonts-installer > /dev/null
|
||||
|
||||
# install glfw
|
||||
git clone https://github.com/glfw/glfw.git
|
||||
cd glfw
|
||||
git checkout 3.0.3
|
||||
cmake -DCMAKE_C_FLAGS=-fPIC -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_DOCS=OFF .
|
||||
make
|
||||
sudo make install
|
||||
cd ..
|
||||
;;
|
||||
|
||||
osx)
|
||||
brew install pkg-config python glfw3
|
||||
pip install virtualenv
|
||||
;;
|
||||
esac
|
|
@ -1,54 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
IFS="," read -ra tasks <<< "${TASKS}"
|
||||
for t in "${tasks[@]}"; do
|
||||
# OS specific setup
|
||||
case ${TRAVIS_OS_NAME} in
|
||||
linux)
|
||||
export DISPLAY=:1.0
|
||||
export RUST_TEST_TASKS=1
|
||||
;;
|
||||
osx)
|
||||
;;
|
||||
esac
|
||||
|
||||
case $t in
|
||||
build)
|
||||
./mach build -j 2
|
||||
;;
|
||||
build-cef)
|
||||
./mach build-cef -j 2
|
||||
;;
|
||||
test-content)
|
||||
./mach test-content
|
||||
;;
|
||||
test-ref)
|
||||
./mach test-ref --kind cpu
|
||||
;;
|
||||
test-wpt1)
|
||||
./mach test-wpt --processes=2 --total-chunks=2 --this-chunk=1
|
||||
;;
|
||||
test-wpt2)
|
||||
./mach test-wpt --processes=2 --total-chunks=2 --this-chunk=2
|
||||
;;
|
||||
push-doc)
|
||||
if [ "${TRAVIS_BRANCH}" = "master" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]
|
||||
then
|
||||
mkdir -p target/doc
|
||||
cp -R ~/.servo/rust/$(cat rust-snapshot-hash)*/doc/* target/doc/
|
||||
cp etc/doc.servo.org/* target/doc/
|
||||
./mach doc # After copying rust/doc, so that the crate index is correct.
|
||||
sudo pip install ghp-import
|
||||
ghp-import -n target/doc
|
||||
git push -qf https://${TOKEN}@github.com/servo/doc.servo.org.git gh-pages
|
||||
else
|
||||
echo Skipping rustdoc
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo "Task $t not recognized."
|
||||
;;
|
||||
esac
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue