Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
839 B

  1. // https://www.appveyor.com/docs/environment-variables
  2. module.exports = {
  3. detect({env}) {
  4. return Boolean(env.APPVEYOR);
  5. },
  6. configuration({env}) {
  7. const pr = env.APPVEYOR_PULL_REQUEST_NUMBER;
  8. const isPr = Boolean(pr);
  9. return {
  10. name: 'Appveyor',
  11. service: 'appveyor',
  12. commit: env.APPVEYOR_REPO_COMMIT,
  13. tag: env.APPVEYOR_REPO_TAG_NAME,
  14. build: env.APPVEYOR_BUILD_NUMBER,
  15. buildUrl: `https://ci.appveyor.com/project/${env.APPVEYOR_PROJECT_SLUG}/build/${env.APPVEYOR_BUILD_VERSION}`,
  16. branch: env.APPVEYOR_REPO_BRANCH,
  17. job: env.APPVEYOR_JOB_NUMBER,
  18. jobUrl: `https://ci.appveyor.com/project/${env.APPVEYOR_PROJECT_SLUG}/build/job/${env.APPVEYOR_JOB_ID}`,
  19. pr,
  20. isPr,
  21. prBranch: env.APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH,
  22. slug: env.APPVEYOR_REPO_NAME,
  23. root: env.APPVEYOR_BUILD_FOLDER,
  24. };
  25. },
  26. };