-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We use the new docker-based infrastructure of Travis which allows faster and responsiver continuous integration jobs.
- Loading branch information
1 parent
1b687c4
commit 144f182
Showing
8 changed files
with
165 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
language: c | ||
script: sh -ex ./Library/Ancillary/travisci main | ||
before_script: sudo sh -ex ./Library/Ancillary/travisci before | ||
sudo: false | ||
addons: | ||
apt: | ||
packages: | ||
- gawk | ||
- gnupg | ||
- graphicsmagick | ||
- graphicsmagick | ||
- m4 | ||
- noweb | ||
- ocaml | ||
- ocaml-findlib | ||
- texlive-font-utils | ||
- texlive-lang-french | ||
- texlive-latex-base | ||
install: sh -ex ./Library/Ancillary/autoinstall bmake | ||
script: sh -ex ./Library/Ancillary/travisci |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
#!/bin/sh | ||
|
||
### autoinstall -- Autoinstall bmake or bsdowl | ||
|
||
# BSD Owl Scripts (https://github.com/michipili/bsdowl) | ||
# This file is part of BSD Owl Scripts | ||
# | ||
# Copyright © 2015 Michael Grünewald | ||
# | ||
# This file must be used under the terms of the CeCILL-B. | ||
# This source file is licensed as described in the file COPYING, which | ||
# you should have received as part of this distribution. The terms | ||
# are also available at | ||
# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt | ||
|
||
: ${prefix:=${HOME}/.local} | ||
: ${srcdir:=${HOME}/.local/sources} | ||
|
||
autoinstall_bsdowl_version='3.0.0-20150401' | ||
|
||
|
||
autoinstall_bmake() | ||
{ | ||
install -d "${srcdir}" | ||
cd "${srcdir}" | ||
|
||
curl -s http://void.crufty.net/ftp/pub/sjg/bmake.tar.gz\ | ||
| tar xzfC - "${srcdir}" | ||
|
||
curl -s http://void.crufty.net/ftp/pub/sjg/mk.tar.gz\ | ||
| tar xzfC - "${srcdir}/bmake" | ||
|
||
./bmake/boot-strap --prefix="${prefix}" --install | ||
./bmake/boot-strap --prefix="${prefix}" op=install | ||
} | ||
|
||
autoinstall_bsdowl() | ||
{ | ||
local version | ||
|
||
version="${autoinstall_bsdowl_version}" | ||
install -d "${srcdir}" | ||
cd "${srcdir}" | ||
|
||
curl -L -s https://github.com/michipili/bsdowl/releases/download/v${version}/bsdowl-${version}.tar.xz | tar xJf - | ||
cd bsdowl-${version} | ||
autoconf | ||
./configure --prefix="${prefix}" | ||
bmake build | ||
bmake install | ||
} | ||
|
||
autoinstall_usage() | ||
{ | ||
iconv -c -f utf-8 <<EOF | ||
Usage: autoinstall [-h][-s SRCDIR] [-p PREFIX] bsdowl bmake | ||
Install bmake and bsdowl | ||
Options: | ||
-h Display this help message. | ||
-p PREFIX [${prefix}] | ||
Use PREFIX as installation prefix. | ||
-s SRCDIR [${srcdir}] | ||
Download sources to SRCDIR. | ||
EOF | ||
} | ||
|
||
while getopts "hs:p:" OPTION; do | ||
case "${OPTION}" in | ||
h) autoinstall_usage; exit 0;; | ||
s) srcdir="${OPTARG}";; | ||
p) prefix="${OPTARG}";; | ||
?) autoinstall_usage; exit 64;; | ||
esac | ||
done | ||
shift $(expr $OPTIND - 1) | ||
for package in "$@"; do | ||
case "${package}" in | ||
bmake|bsdmake);; | ||
*) autoinstall_usage; exit 64;; | ||
esac | ||
done | ||
for package in "$@"; do | ||
autoinstall_${package} | ||
done | ||
|
||
### End of file `autoinstall' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/sh -e | ||
|
||
### rebase -- Rebase topic branches | ||
|
||
# BSD Owl Scripts (https://github.com/michipili/bsdowl) | ||
# This file is part of BSD Owl Scripts | ||
# | ||
# Copyright © 2015 Michael Grünewald | ||
# | ||
# This file must be used under the terms of the CeCILL-B. | ||
# This source file is licensed as described in the file COPYING, which | ||
# you should have received as part of this distribution. The terms | ||
# are also available at | ||
# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt | ||
|
||
topic_branch_list() | ||
{ | ||
git branch | sed -n -e 's/^..//;/topic/p' | ||
} | ||
|
||
|
||
topic_branch_rebase() | ||
{ | ||
local branch | ||
|
||
while read "branch"; do | ||
git rebase --onto master remaster "${branch}" | ||
done | ||
} | ||
|
||
topic_branch_list | topic_branch_rebase | ||
|
||
### End of file `rebase' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters