language: python
python:
  - 2.7
install:
  - pip install -r requirements.txt
  - npm install -g jshint
before_script:
  - wget -P /tmp/avim -N https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/jsshell-linux-x86_64.zip
  - unzip -d /tmp/js /tmp/avim/jsshell-linux-x86_64.zip
  - export PATH=$PATH:/tmp/js
script:
  - jshint .
  - python build.py
  - cd tests/
  - js -b -s test.js
sudo: false
cache:
  directories:
    - $HOME/.cache/pip
    - /tmp/avim

language: python
python:
  - 2.7
install:
  - pip install -r requirements.txt
  - npm install -g jshint
before_script:
  - wget -P /tmp/avim -N https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/jsshell-linux-x86_64.zip
  - unzip -d /tmp/js /tmp/avim/jsshell-linux-x86_64.zip
  - export PATH=$PATH:/tmp/js
  - git clone https://github.com/1ec5/hunspell-vi.git tests/hunspell-vi
script:
  - jshint .
  - python build.py
  - cd tests/
  - js -b -s test.js
  - js -b -s corpus.js hunspell-vi/dictionaries/vi-DauCu.dic -w hunspell-vi/tools/irregulars.txt
sudo: false
cache:
  directories:
    - $HOME/.cache/pip
    - /tmp/avim

Test against entire FVDP corpus
Travis: Test against entire FVDP corpus
