Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stelin authored Mar 13, 2018
1 parent 9107f56 commit a032c3d
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,7 @@ services:
- mysql

before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;
use test;
CREATE TABLE IF NOT EXISTS `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(20) DEFAULT NULL,
`sex` int(1) NOT NULL DEFAULT '0',
`age` int(1) NOT NULL DEFAULT '0',
`description` varchar(240) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12082 DEFAULT CHARSET=utf8;
'
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'

install:
- wget https://github.com/redis/hiredis/archive/v0.13.3.tar.gz -O hiredis.tar.gz && mkdir -p hiredis && tar -xf hiredis.tar.gz -C hiredis --strip-components=1 && cd hiredis && sudo make -j$(nproc) && sudo make install && sudo ldconfig && cd ..
Expand Down

0 comments on commit a032c3d

Please sign in to comment.