Skip to content

Commit

Permalink
Merge pull request alibaba#466 from Jamyn/master
Browse files Browse the repository at this point in the history
Add .travis.yml for travis-ci.org testing
  • Loading branch information
yaoweibin committed Jun 18, 2014
2 parents 8bd5488 + 0d72666 commit 3341b7e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# travis-ci.org - continuous testing environment - http://docs.travis-ci.com/

language: c
compiler:
- gcc
- clang

# The build machines are Ubuntu 12.04 x64
before_install:
- sudo apt-get clean
- sudo apt-get update
- sudo apt-get install -y initscripts libc-bin libgd2-xpm-dev libgeoip-dev
- sudo apt-get install -y libxslt1-dev libpcre++0 libpcre++-dev
- sudo apt-get install -y liblua5.1-0-dev libssl-dev lua5.1 openssl passwd

# TODO: fix tests so they don't depend on /usr/local/nginx/logs/
# so we can run `make`, `make test`, `make install`.

script:
- ./configure --enable-mods-shared=all --with-file-aio --with-ipv6
- make
- sudo make install

0 comments on commit 3341b7e

Please sign in to comment.