mirror of
https://github.com/MontFerret/ferret.git
synced 2025-01-18 03:22:02 +02:00
fix travis-ci: use shell script instead of aliases
This commit is contained in:
parent
1afe31c7ff
commit
0d2d342cb0
10
.travis.yml
10
.travis.yml
@ -17,9 +17,11 @@ addons:
|
||||
- oracle-java8-set-default
|
||||
|
||||
before_install:
|
||||
- shopt -s expand_aliases
|
||||
- curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
|
||||
- sudo curl -O https://www.antlr.org/download/antlr-4.7.1-complete.jar
|
||||
- sudo curl -o /usr/local/lib/antlr-4.7.1-complete.jar https://www.antlr.org/download/antlr-4.7.1-complete.jar
|
||||
- export CLASSPATH=".:/usr/local/lib/antlr-4.7.1-complete.jar:$CLASSPATH"
|
||||
- alias antlr4='java -jar /usr/local/lib/antlr-4.7.1-complete.jar'
|
||||
- alias grun='java org.antlr.v4.gui.TestRig'
|
||||
- mkdir $HOME/travis-bin
|
||||
- echo -e "#!/bin/bash\njava -jar /usr/local/lib/antlr-4.7.1-complete.jar" > $HOME/travis-bin/antlr4
|
||||
- echo -e "#!/bin/bash\njava org.antlr.v4.gui.TestRig" > $HOME/travis-bin/grun
|
||||
- chmod +x $HOME/travis-bin/*
|
||||
- export PATH=$PATH:$HOME/travis-bin
|
Loading…
Reference in New Issue
Block a user