add note about travis support

This commit is contained in:
Sam 2016-05-23 12:11:43 +10:00
parent 9acac94539
commit 7cc8ed86d5
1 changed files with 14 additions and 0 deletions

View File

@ -137,6 +137,20 @@ Or install it yourself as:
**Note** using v8.h and compiling MiniRacer requires a C++11 standard compiler, more specifically clang 3.5 (or later) or gcc 4.8 (or later).
## Travis-ci
To install `mini-racer` you will need a version of gcc that supports C++11 (gcc 4.8) this is included by default in ubuntu trusty based images.
Travis today ships by default with a precise based image. Precise Pangolin (12.04 LTS) was first released in August 2012. Even though you can install GCC 4.8 on precise the simpler approach is to opt for the trusty based image.
Add this to your .travis.yml file:
```
- sudo: required
- dist: trusty
```
## Similar Projects
###therubyracer