mirror of https://github.com/pyodide/pyodide.git
30 lines
656 B
YAML
30 lines
656 B
YAML
language: python
|
|
sudo: required
|
|
cache:
|
|
pip: true
|
|
ccache: true
|
|
directories:
|
|
- emsdk/emsdk
|
|
addons:
|
|
firefox: latest
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- gcc-7
|
|
- g++-7
|
|
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
|
|
install:
|
|
- pip install pytest selenium
|
|
script:
|
|
- sudo ln -s /usr/bin/gcc-7 /usr/local/bin/gcc
|
|
- sudo ln -s /usr/bin/g++-7 /usr/local/bin/g++
|
|
- make
|
|
- make test
|