mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
084e67f267
lint-shell-scripts searches over the repository looking for shell scripts. On those found, shellcheck is run against them. If any linting fails print those warnings and exit with a non-zero exit code. Run this script automatically in Travis.
36 lines
893 B
YAML
36 lines
893 B
YAML
sudo: require
|
|
dist: xenial
|
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
- gcc
|
|
|
|
cache:
|
|
directories:
|
|
- /var/cache/apt/archives/*.deb
|
|
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "chat.freenode.net#serenityos"
|
|
template:
|
|
- "%{repository_slug}#%{build_number} (%{branch} - %{commit} : %{author}): %{message}"
|
|
- "Subject: %{commit_subject}"
|
|
- "Details: %{build_url}"
|
|
|
|
before_install:
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install g++-8 libstdc++-8-dev shellcheck
|
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
|
|
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 90
|
|
- sudo apt-get install -y libmpfr-dev libmpc-dev libgmp-dev
|
|
- sudo apt-get install -y e2fsprogs qemu-system-i386 qemu-utils
|
|
|
|
script:
|
|
- cd Toolchain
|
|
- ./BuildIt.sh
|
|
- cd ../Kernel
|
|
- ./makeall.sh
|
|
- ../Meta/lint-shell-scripts.sh
|