2018-03-30 17:08:06 +00:00
|
|
|
language: python
|
2018-04-02 17:06:36 +00:00
|
|
|
addons:
|
|
|
|
firefox: latest
|
2018-03-30 17:08:06 +00:00
|
|
|
cache:
|
|
|
|
pip: true
|
|
|
|
ccache: true
|
|
|
|
directories:
|
|
|
|
- emsdk/emsdk
|
|
|
|
python:
|
|
|
|
- '3.6'
|
|
|
|
before_install:
|
|
|
|
- wget https://github.com/mozilla/geckodriver/releases/download/v0.20.0/geckodriver-v0.20.0-linux64.tar.gz
|
|
|
|
- mkdir geckodriver
|
|
|
|
- tar -xvf geckodriver-v0.20.0-linux64.tar.gz -C geckodriver
|
|
|
|
- export PATH=$PATH:$PWD/geckodriver
|
2018-04-02 17:17:55 +00:00
|
|
|
- cd emsdk; wget https://github.com/iodide-project/pyodide-demo/raw/toolchain/pyodide_toolchain.tgz; tar -xvf pyodide_toolchain.tgz
|
2018-03-30 17:08:06 +00:00
|
|
|
install:
|
|
|
|
- pip install pytest selenium
|
|
|
|
script:
|
|
|
|
- make test
|