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.

27 lines
632 B

  1. // http://docs.shippable.com/ci/env-vars/#stdEnv
  2. module.exports = {
  3. detect({env}) {
  4. return Boolean(env.SHIPPABLE);
  5. },
  6. configuration({env}) {
  7. const pr = env.IS_PULL_REQUEST === 'true' ? env.PULL_REQUEST : undefined;
  8. const isPr = Boolean(pr);
  9. return {
  10. name: 'Shippable',
  11. service: 'shippable',
  12. commit: env.COMMIT,
  13. tag: env.GIT_TAG_NAME,
  14. build: env.BUILD_NUMBER,
  15. buildUrl: env.BUILD_URL,
  16. branch: isPr ? env.BASE_BRANCH : env.BRANCH,
  17. job: env.JOB_NUMBER,
  18. pr,
  19. isPr,
  20. prBranch: isPr ? env.HEAD_BRANCH : undefined,
  21. slug: env.SHIPPABLE_REPO_SLUG,
  22. root: env.SHIPPABLE_BUILD_DIR,
  23. };
  24. },
  25. };