38 строки
3.4 KiB
YAML
38 строки
3.4 KiB
YAML
language: node_js
|
|
sudo: false
|
|
node_js:
|
|
- '8'
|
|
- '10'
|
|
script:
|
|
- npm run test-ci
|
|
- node scripts/build-locales
|
|
- npm run build
|
|
- npm run lint
|
|
# run integration tests using an addons-linter binary in a production-like environment
|
|
- npm run test-integration:production
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- irc.mozilla.org#amo-bots
|
|
on_success: change
|
|
on_failure: always
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
deploy:
|
|
provider: npm
|
|
email: addons-dev-automation+npm@mozilla.com
|
|
skip_cleanup: true
|
|
api_key:
|
|
secure: Mj1vxHiJ6TvBAi6Slp4q3V/vePnzG5OTssKlygm5XN8A3t7/h6Zi09NMGWBWUPfnfPzI9LH+fHZpjI8aQmsTuzqnkwDfufBukmDkvwQvWiQa6hn69VJ1+hOEFfzbtu2TauXHVLw+6bLagbD4DMkatM+WGoBsRi3p7ZI4lj9bYM6vN7B3Vx/AwZ9mfDGfapiVE+Mlo2T43nQrXeZ1Od5jQ01r9Femkw5qCXT6DYEccDpbimFeGngqzCz9ks6g3BQZ4y982uR2n2jErZFib7M3VaPO7qJvXIubbpk7iCzk0el4hdzz8syABTvEwPL6qAWtItbxivOApy1xoeBOD4wonyTnBJ7slVWDMr2IlcjHSBPtGqyrmofk8VZCDxSJxj14dmPam9nl3lEYV9bdBBMaatSJnVtEQJEkPiIX+aQBwR/CwjQ5XJkQ3oIMlmqM1qs6APqvbox1ZkMJAEcpnz+ZBTYsZPnN02hTaVXsUqlEJHOX2yP+6Zbfyr9dnXtnKLy+1dpmlQBKmAGMZyujlMJ4xxRxmOZCAECSUvkR0TCLZZ8lSDydR4E4TQlMvtDY7yv8ZRFi09mRqd6mB+xT0n2vihDmKIFROs7kewwL/i7AGBhZ+AhZY7HTP2qdjy/wxCPyRPm+KiXIE+Dvp+ZoRK8BibxErGD/atUNIXwjWypgEWg=
|
|
on:
|
|
tags: true
|
|
repo: mozilla/addons-linter
|
|
branch: master
|
|
after_success: npm run publish-rules > /dev/null 2>&1
|
|
env:
|
|
global:
|
|
- secure: kxnTz51/kPI6y4vU8y222rX1B0csVWXU3pvJVzKxgBuoOtvSsebqsjPXkBT67j0anf7yg/N9qIFXf/8J2QWOAs3mYS0viONppGsiAUqla9QwpEJG89equl/760J5RIiSswsMTI/Rd1CM53AF7lUudF5+htXt9VkWvOAbJzkCTAdsqJZgNIQYDezkRxEwpmaIVZNzh/wsjW7x8as4sAeq3qZeVGRA6skEJiOIoR780EFOQqVz+BH+17NreFFM60ekkLBTzjCjkRyWCZmNl8FMz/F/E3qN/21y6ggqfBJf9qGO9GJ3xAr5FhGmyllMP4xKyQeBlUkbzJHWFnAvJFOQ+4dlVech9X3RFczQwMpnVT/m6rQyYy7xQXw+2f6iiAXf4biPsWJgEOBuJwgNIIGAWTbxvH7k5xa5iDbKFntw0TIzAopNZI6JBd5kUQHri0544q2akHRZzcpa+0ZBqOiqMMoL3pkws2L8E8VYKofL3vmP/2o298Ah0KYZWsl6Oc5Ev/vfQLn+cGROpgoeoURW601kFpJ4+uLNhQwdxavEI0KnRLK9OZKik0mHzy/LX/xp6aKl1jREc04pONzSHqQtkhSLmjauQoF0e6UXWCPdH4LW1bd1Xw0BhvyOjSiy2gOyRfj9WHunn9pb4oDsYQbswDIlew6wQR6uKoc7d7/rUDI=
|
|
- secure: h4pyX3Ak/ZpKyMWUKOcdng6Psq1FqAsTG0ErXUwxWQ16ijHZZL5jlcMnDpH9ctRjyaS8s/3dfa2dRAuPCt9cQOBXZBWNCGekr5kpVq8eaYDJ1SOzEvm8CPtNkqof46ifYN+KDFtqodg83M9Mm2ab0MZgvCP7JJd072SnafhQvXyZ4rOucocnbAp31BFtHhMLlGpI+Vr/1jl88Df1tHDyiPdVjqzNm0z9CGttFkmOpO9Uah+6hKKslDZGtFiRxnf4rpiWSYKkkWe9pa1330V37Cfmz8T4k4c8irg2Hi3ShojAmgRNuwq6Dg8skzy61R172FW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