Skip to content

Commit

Permalink
use gtm travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
killmenot committed Nov 27, 2017
1 parent f7041d9 commit 11ad5ce
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ services:
- redis-server
before_install:
- chmod +x `ls installers/*.sh`
- ./installers/install_gtm_only.sh
- ./installers/install_nodem.sh
- ./installers/install_gtm_travis.sh
env:
# Can't figure out how to DRY this up: http://stackoverflow.com/q/22397300/3191
- WEB_SERVER=express DATABASE=redis
Expand Down
12 changes: 12 additions & 0 deletions installers/install_gtm_travis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

sudo apt-get update
sudo apt-get install -y build-essential libssl-dev
sudo apt-get install -y wget gzip openssh-server curl python-minimal libelf1

wget -q https://downloads.sourceforge.net/project/fis-gtm/GT.M-amd64-Linux/V6.3-002/gtm_V63002_linux_x8664_pro.tar.gz -P /home/travis
mkdir ~/gtm_V63002_linux_x8664_pro
tar zxvf ~/gtm_V63002_linux_x8664_pro.tar.gz -C ~/gtm_V63002_linux_x8664_pro
(cd /home/travis/gtm_V63002_linux_x8664_pro && sudo ./gtminstall --distrib /home/travis/gtm_V63002_linux_x8664_pro)
/usr/lib/fis-gtm/V6.3-002_x86_64/gtmprofile
/usr/lib/fis-gtm/V6.3-002_x86_64/gtmbase

0 comments on commit 11ad5ce

Please sign in to comment.