Skip to content

Commit

Permalink
Fixed shell command syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed May 21, 2018
1 parent 4693578 commit f0f1441
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ matrix:
os: linux
python: "3.5"
before_install:
- sudo apt-get -qq update
- GRC_VERSION="$(curl -s https://api.github.com/repos/garabik/grc/releases/latest | grep "tag_name" | cut -d : -f 2 | tr -d \, | tr -d \" | cut -c3-)"
# - sudo apt-get -qq update
- GRC_VERSION="$(curl -s https://api.github.com/repos/garabik/grc/releases/latest | grep 'tag_name' | cut -d : -f 2 | tr -d \, | tr -d \" | cut -c3-)"
- GRC_FILE="grc_${GRC_VERSION}-1_all.deb"
- curl -L https://korpus.sk/~garabik/software/grc/$GRC_FILE -o grc.deb
- FORCE="$([ "$(command -v python3)" != "/usr/bin/python3" ] && echo "--ignore-depends=python3:any")"
Expand All @@ -15,12 +15,15 @@ matrix:
os: linux
python: "3.6"
before_install:
- sudo apt-get -qq update
- GRC_VERSION="$(curl -s https://api.github.com/repos/garabik/grc/releases/latest | grep "tag_name" | cut -d : -f 2 | tr -d \, | tr -d \" | cut -c3-)"
# - sudo apt-get -qq update
- GRC_VERSION="$(curl -s https://api.github.com/repos/garabik/grc/releases/latest | grep 'tag_name' | cut -d : -f 2 | tr -d \, | tr -d \" | cut -c3-)"
- GRC_FILE="grc_${GRC_VERSION}-1_all.deb"
- curl -L https://korpus.sk/~garabik/software/grc/$GRC_FILE -o grc.deb
- FORCE="$([ "$(command -v python3)" != "/usr/bin/python3" ] && echo "--ignore-depends=python3:any")"
- sudo dpkg $FORCE -i grc.deb
addons:
apt:
update: true
install:
- pip3 install -r tools/Travis-CI/requirements.txt
before_script:
Expand Down

0 comments on commit f0f1441

Please sign in to comment.