Skip to content

Commit 73fbce0

Browse files
committed
Add a travis.yml
1 parent aa7e653 commit 73fbce0

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: python
2+
python:
3+
- "2.7"
4+
before_install:
5+
- "sudo apt-get -qq update"
6+
install:
7+
- "sudo apt-get -qq install libxml2-dev libxslt-dev python-dev"
8+
- "pip install -r requirements.txt"
9+
script: "./run-tests.sh"

makexpi.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ XPI_NAME="pkg/$APP_NAME-`grep em:version src/install.rdf | sed -e 's/[<>]/ /g' |
118118
if [ "$1" ] && [ "$1" != "--fast" ] ; then
119119
XPI_NAME="$XPI_NAME.xpi"
120120
else
121-
XPI_NAME="$XPI_NAME~pre.xpi"
121+
# During development, generate packages named with the short hash of HEAD.
122+
XPI_NAME="$XPI_NAME~`git rev-parse --short HEAD`.xpi"
122123
fi
123124

124125
[ -d pkg ] || mkdir pkg

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lxml>=3.3.3

0 commit comments

Comments
 (0)