Skip to content

Commit

Permalink
Compile PCRE JIT support for Travis builds
Browse files Browse the repository at this point in the history
  • Loading branch information
p0pr0ck5 committed Jan 12, 2016
1 parent cff9ada commit feeed70
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ cache:
notifications:
irc: "chat.freenode.net#freewaf"
env:
- V_OPENRESTY=1.9.7.1
- V_OPENRESTY=1.9.7.1 V_PCRE=8.38
install:
- cpanm -v --notest Test::Nginx
before_script:
- sudo apt-get update -q
- sudo apt-get install libreadline-dev libncurses5-dev libpcre3-dev libssl-dev -y
- sudo apt-get install make build-essential lua5.1 -y
- wget https://openresty.org/download/ngx_openresty-$V_OPENRESTY.tar.gz
- wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-$V_PCRE.tar.bz2
- tar xjf pcre-8.38.tar.bz2
- tar xzf ngx_openresty-$V_OPENRESTY.tar.gz
- cd ngx_openresty-$V_OPENRESTY && ./configure && make && sudo make install && cd ..
- cd ngx_openresty-$V_OPENRESTY && ./configure --with-pcre=../pcre-$V_PCRE --with-pcre-jit --with-pcre-opt=-g --with-debug && make && sudo make install && cd ..
script:
- make test

0 comments on commit feeed70

Please sign in to comment.