sudo: false
language: rust
rust:
  - stable
  - beta
  - nightly
go:
  - tip
install:
  - nvm install stable
  - nvm use stable
  - npm install ffi glob
  - gem install ffi
script:
  - cargo build
  - cd c && gcc main.c -L ../target/debug -lstringtools -o main && LD_LIBRARY_PATH=../target/debug ./main
  - cd ../go && LD_LIBRARY_PATH=../target/debug go run main.go
  - cd ../python && python main.py
  - cd ../node && node main.js
  - cd ../ruby && ruby main.rb

sudo: false
language: rust
rust:
  - stable
  - beta
  - nightly
ghc:
  - 7.8
go:
  - tip
install:
  - nvm install stable
  - nvm use stable
  - npm install ffi glob
  - gem install ffi
script:
  - cargo build
  - cd c && gcc main.c -L ../target/debug -lstringtools -o main && LD_LIBRARY_PATH=../target/debug ./main
  - cd ../go && LD_LIBRARY_PATH=../target/debug go run main.go
  - cd ../python && python main.py
  - cd ../node && node main.js
  - cd ../ruby && ruby main.rb
  - ghc --version

Check if GHC would work.
Check if GHC would work.