forked from rmosolgo/graphql-libgraphqlparser-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (26 loc) · 685 Bytes
/
.travis.yml
File metadata and controls
26 lines (26 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: ruby
cache: bundler
sudo: required
rvm:
- 2.1
- 2.2
- 2.3.0
addons:
apt:
packages:
- cmake
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
- sudo apt-get install build-essential
- sudo apt-get -qq install g++-5
- sudo unlink /usr/bin/g++ && sudo ln -s /usr/bin/g++-5 /usr/bin/g++
- g++ --version
- sudo apt-get install bison
- wget https://github.com/graphql/libgraphqlparser/archive/v0.5.0.tar.gz
- tar -xzvf v0.5.0.tar.gz
- cd libgraphqlparser-0.5.0/ && sudo cmake . && sudo make && sudo make install
- gem update --system
- gem install bundler
script:
- bundle exec rake --trace