https://github.com/ModelOriented/Arena
Raw File
Tip revision: 57e170ad02cfa878daa7474206fddb6d72048579 authored by Piotr Piątyszek on 04 November 2021, 12:12:35 UTC
Plot fairness regression (#12)
Tip revision: 57e170a
.travis.yml
language: node_js
node_js:
- lts/*
cache: npm
script:
- npm run build
deploy:
  provider: pages:git
  edge: true
  local_dir: build
  deploy_key: deploy_key
  cleanup: false
  on:
    all_branches: true
    repo: ModelOriented/Arena
before_install:
- sudo add-apt-repository -y ppa:deadsnakes/ppa
- sudo apt-get update
- sudo apt-get -y install python3.8 python3.8-distutils
- curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && sudo python3.8 get-pip.py && rm -f get-pip.py
- sudo rm -rf /usr/bin/python3 && sudo ln -s /usr/bin/python3.8 /usr/bin/python3
- python3 --version
before_deploy:
- openssl aes-256-cbc -K $encrypted_d496dfbd0e99_key -iv $encrypted_d496dfbd0e99_iv
  -in deploy_key.enc -out ./deploy_key -d
- chmod 600 ./deploy_key
- ssh -i ./deploy_key -T git@github.com 2>&1 | grep successful > /dev/null
- echo 'ssh -i ./deploy_key "$@"' > use_ssh.sh
- chmod +x use_ssh.sh
- export GIT_SSH="./use_ssh.sh"
- git clone --quiet --branch="gh-pages" --depth=1 "git@github.com:ModelOriented/Arena.git" repo
- mkdir -p repo/branch build
- cp -R repo/branch build/
- rm -rf build/branch/$TRAVIS_BRANCH
- cp -R dist build/branch/$TRAVIS_BRANCH
- cp -R build/branch/master/* build/
- mkdir -p build/branch/docs
- cp -R build/branch/docs build/
back to top