chore: update vercel token (#1892)
This commit is contained in:
parent
9cb16ea91c
commit
01ba161520
97
.travis.yml
97
.travis.yml
|
@ -1,73 +1,74 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "10"
|
- '10'
|
||||||
dist: bionic
|
dist: bionic
|
||||||
group: dev
|
group: dev
|
||||||
sudo: false
|
sudo: false
|
||||||
services:
|
services:
|
||||||
- redis-server
|
- redis-server
|
||||||
- postgresql
|
- postgresql
|
||||||
addons:
|
addons:
|
||||||
chrome: stable
|
chrome: stable
|
||||||
postgresql: "10"
|
postgresql: '10'
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- autoconf
|
- autoconf
|
||||||
- bison
|
- bison
|
||||||
- build-essential
|
- build-essential
|
||||||
- ffmpeg
|
- ffmpeg
|
||||||
- file
|
- file
|
||||||
- g++
|
- g++
|
||||||
- gcc
|
- gcc
|
||||||
- imagemagick
|
- imagemagick
|
||||||
- libffi-dev
|
- libffi-dev
|
||||||
- libgdbm5
|
- libgdbm5
|
||||||
- libicu-dev
|
- libicu-dev
|
||||||
- libidn11-dev
|
- libidn11-dev
|
||||||
- libncurses5-dev
|
- libncurses5-dev
|
||||||
- libpq-dev
|
- libpq-dev
|
||||||
- libprotobuf-dev
|
- libprotobuf-dev
|
||||||
- libreadline6-dev
|
- libreadline6-dev
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
- libxml2-dev
|
- libxml2-dev
|
||||||
- libxslt1-dev
|
- libxslt1-dev
|
||||||
- libyaml-dev
|
- libyaml-dev
|
||||||
- pkg-config
|
- pkg-config
|
||||||
- postgresql-client-10
|
- postgresql-client-10
|
||||||
- postgresql-contrib-10
|
- postgresql-contrib-10
|
||||||
- protobuf-compiler
|
- protobuf-compiler
|
||||||
- redis-server
|
- redis-server
|
||||||
- redis-tools
|
- redis-tools
|
||||||
- zlib1g-dev
|
- zlib1g-dev
|
||||||
- fonts-noto-color-emoji # required for emoji-picker-element + Chrome on Linux
|
- fonts-noto-color-emoji
|
||||||
before_install:
|
before_install:
|
||||||
- psql -d template1 -U postgres -c "CREATE USER pinafore WITH PASSWORD 'pinafore' CREATEDB;"
|
- psql -d template1 -U postgres -c "CREATE USER pinafore WITH PASSWORD 'pinafore'
|
||||||
- curl -o- -L https://yarnpkg.com/install.sh | bash -s
|
CREATEDB;"
|
||||||
- export PATH="$HOME/.yarn/bin:$PATH"
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s
|
||||||
- ./bin/setup-mastodon-in-travis.sh
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
||||||
|
- "./bin/setup-mastodon-in-travis.sh"
|
||||||
before_script:
|
before_script:
|
||||||
- yarn run lint
|
- yarn run lint
|
||||||
after_script:
|
after_script:
|
||||||
- rm -f /home/travis/.rvm/gems/ruby-*/bin/posix-spawn-benchmark # file seems generated every time, breaks travis cache
|
- rm -f /home/travis/.rvm/gems/ruby-*/bin/posix-spawn-benchmark
|
||||||
script: travis_retry yarn run $COMMAND
|
script: travis_retry yarn run $COMMAND
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- ESM_DISABLE_CACHE=1 # this cache causes travis to rebuild its cache every single time
|
- ESM_DISABLE_CACHE=1
|
||||||
- TERSER_DISABLE_CACHE=1 # ditto
|
- TERSER_DISABLE_CACHE=1
|
||||||
- secure: "jyccYPBJQOHN6oX9VkeBSxKoWPACVn0rlNj8priGsrfWHcroqlPeVVWV2SXPBkwIFIgdjnVAA2q71mGrPJIstZERAaEKlq92+CPcpTDJp2vobHjrOvRtHd2rqrlU388c5CIjQXM1KA9MYenUOs/hmhbgUPrM8w2KsQGstSITGIhzySKzwreuz80tA0GC0fJ7jL3sCzlsBtWbL6WMAJdel4b+w3GiYdz5i7L6ZH0PzBapbMelr4QBKnTVo3oAE91Riis6lGmI4BUDpkFpslDUqtdPmgp7x/6VuF06dojinCCp/waPDPZRuPimFiqIVTn0lsyJRrP6t9MMixEatMvZrsHZd6XqXCP5P0bWeVEtwtnGZjHDPjSzjf+PigqwN6XQvVsTJBWXZX/qO/PpSKsRLwhynyfrKLQ54gDx+tEKfB3eNgKT4eWRLIZkk+IfTGasOsk92FLBrEHC89Xf+yLBsO/VBL6AZEFU6sS0Qk8Nv53/v8OelbcLFlWN5ws134MeJywSPtmbp8YkkSER+4auAmKNJr8JRu5A0MYz5hAM+kaIszkPv0uayDu7X+ygTe3Y+op/AOFULAX1mgGfsqcW4hYZyhJH21sduf0bxPNuJB0OnuAP05/HFoaU9rq/D/FYVylQs8O9R/NbWomi6bE6LmMQrVVyU5xu7Fo3DMyKBnw="
|
- secure: kLsuDI1c2/g72Ek2dQZCxpKiEwkSNzB73zddeHyQ/BPNis0FKz172ul28Oeq1eb+tfg51nWq43NBCQ5PtHAjF+O7DbHR1+shj0dyQgMk86aZDVQTp4o5dX3hWyM04apc9hVUVqrCsCP3bHztcdyBu6Lb2QC2dlz8tfYxytcd0T1sQYd08Z5F3jf3rCASccAZ1XS+w3a3yQoD/uu9nsQCIgGpDRGNAt6mPGw4zk8ZmpswA6XPTsfaNZFhln72yQWVCOl+7WD8S2qiBGEXONaVz4/LB/1uo9+i2iPIMhOON91oi0SSacxfYAVsV0wh4L2IEhkbLBvPYI4lelV39U0asTEHBcQmay73KQr8K4aYK7NnK7NK56W/vlJXd6c2Qd0NtUmY5yTGPBJQHtGCDSXIHijXHlmA+NGwJfoDUL7QDNAoC0StR8uSPnAQ4NdfheBSf6l7kKOo5HZwjK4JTWfTvr549TMJnFr9fYNJii9W/MyajLed0wF5nPJ50VyIXX9BAMa7n8KSQ1YV0W9Kp88LHAfASUGjo2P5IddgC3CaM/WAoMWOW5D3vWCWhIQzSmJLz66vUqi3oaiglw+/Q77nrDDE+2zkQGCl6Ehof27TFJRMu2QnT6El3upsRfnMgV3MdO3Kd2Pq0iFSXqPZQIAyba1LAQcveh/OPWmKWjzGkew=
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- env: BROWSER=chrome:headless COMMAND=test-browser-suite0
|
- env: BROWSER=chrome:headless COMMAND=test-browser-suite0
|
||||||
- env: BROWSER=chrome:headless COMMAND=test-browser-suite1
|
- env: BROWSER=chrome:headless COMMAND=test-browser-suite1
|
||||||
- env: COMMAND=test-unit
|
- env: COMMAND=test-unit
|
||||||
- env: COMMAND=deploy-all-travis
|
- env: COMMAND=deploy-all-travis
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- env: COMMAND=deploy-all-travis
|
- env: COMMAND=deploy-all-travis
|
||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
cache:
|
cache:
|
||||||
yarn: true
|
yarn: true
|
||||||
bundler: true
|
bundler: true
|
||||||
directories:
|
directories:
|
||||||
- /home/travis/.rvm/
|
- "/home/travis/.rvm/"
|
||||||
|
|
|
@ -15,10 +15,10 @@ else
|
||||||
rm -f static/robots.txt
|
rm -f static/robots.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if in travis, use the $NOW_TOKEN
|
# if in travis, use the $VERCEL_TOKEN
|
||||||
DEPLOY_COMMAND="vercel --scope nolanlawson"
|
DEPLOY_COMMAND="vercel --scope nolanlawson"
|
||||||
if [[ ! -z "$NOW_TOKEN" ]]; then
|
if [[ ! -z "$VERCEL_TOKEN" ]]; then
|
||||||
DEPLOY_COMMAND="$DEPLOY_COMMAND --token $NOW_TOKEN"
|
DEPLOY_COMMAND="$DEPLOY_COMMAND --token $VERCEL_TOKEN"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# launch
|
# launch
|
||||||
|
|
Loading…
Reference in New Issue