pyodide/.travis.yml

48 lines
1.7 KiB
YAML
Raw Normal View History

2018-03-30 17:08:06 +00:00
language: python
2018-04-02 18:30:00 +00:00
2018-04-02 17:06:36 +00:00
addons:
firefox: latest
2018-04-19 22:50:10 +00:00
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- libstdc++6
2018-03-30 17:08:06 +00:00
cache:
pip: true
ccache: true
directories:
- emsdk/emsdk
2018-04-02 18:30:00 +00:00
2018-03-30 17:08:06 +00:00
python:
- '3.6'
2018-04-02 18:30:00 +00:00
2018-03-30 17:08:06 +00:00
before_install:
2018-04-19 21:05:34 +00:00
- wget --quiet https://github.com/mozilla/geckodriver/releases/download/v0.20.0/geckodriver-v0.20.0-linux64.tar.gz
2018-03-30 17:08:06 +00:00
- mkdir geckodriver
2018-04-02 17:54:31 +00:00
- tar -xf geckodriver-v0.20.0-linux64.tar.gz -C geckodriver
2018-03-30 17:08:06 +00:00
- export PATH=$PATH:$PWD/geckodriver
2018-04-19 21:05:34 +00:00
- if [ ! -f emsdk/emsdk/emsdk ]; then cd $TRAVIS_BUILD_DIR/emsdk; wget --quiet https://github.com/iodide-project/pyodide-demo/raw/toolchain/pyodide_toolchain.tgz; tar -xf pyodide_toolchain.tgz; cd $TRAVIS_BUILD_DIR; fi
2018-04-02 18:30:00 +00:00
2018-03-30 17:08:06 +00:00
install:
2018-04-09 14:39:52 +00:00
- pip install pytest-xdist selenium
2018-04-02 18:30:00 +00:00
2018-03-30 17:08:06 +00:00
script:
2018-04-19 22:37:54 +00:00
- make test; cat cpython/build/3.6.4/Python-3.6.4/config.log
2018-04-02 18:30:00 +00:00
2018-04-10 00:41:14 +00:00
# deploy:
# provider: pages
# github-token: "$GITHUB_TOKEN"
# skip-cleanup: true
# keep-history: false
# repo: iodide-project/pyodide-demo
# verbose: false
# local-dir: build
# target-branch: master
# on:
# branch: master
2018-04-02 18:30:00 +00:00
env:
global:
secure: "XADGyHfws1zAttuUWHxUuQmF9RCzMbODWoJXO/wn3rWi0+mCkLd65pvlAETm3fKFaIjnTWxhKwTo+z7Y6f5mIMT4NcNGJA1u8ENfgRilW2c5taI36v3j+XWVpaaz05Fghq+bWi1F46vRQckMX9c1vsYcbpT0WxQL3bb8yX3NSZ0QwPZF0sSWBBDZ2LcPmct2zAwxXsBYO4wfFp+vbexiH6TIArABOYMWlDjgD3WlpHSZ3Ch0ud1Y79f2TRt1SibfpZqNJQ1Zs7ZMdMEEby7tKCTvjSSD+1G8Ctx9X/fnh/YT1+Ayq/6se5WI8bHCxB1UTQBgskj8iB1KYEt6WBDnOFqgsS1GAgEvo9Sj6v+gUfVaVBXXK+CsXFV3vEscWAW65EPstDBGyqRqop4BRaARw7q0teZ4IxUBzPdU3bUNqoA4DoZuGBP1Bt1wyY/9y5gYaQVOXfWbPbBdIsBuwOcgzcR1gFVWKyMXfwgcTA31UUDDTpH1uQgc3T4dnD1556tCSVwML2JYJItx9mVa+m8vxYq5zB45JAZDKr8duwQwH/CuQ33pv4whXb4S3m98NLf2Q/icZAaOFbtQx1taLDlbTa2UlpLpqWwdvVX2TOoIfVUDzUnIY+gppZLOuxAG+X3P0ip+8jIWRvraYTRMyVDLK5zuYHgmGl9Lvtfjzu6vpeM="