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.

22 lines
464 B

  1. // https://sail.ci/docs/environment-variables
  2. module.exports = {
  3. detect({env}) {
  4. return Boolean(env.SAILCI);
  5. },
  6. configuration({env}) {
  7. const pr = env.SAIL_PULL_REQUEST_NUMBER;
  8. const isPr = Boolean(pr);
  9. return {
  10. name: 'Sail CI',
  11. service: 'sail',
  12. commit: env.SAIL_COMMIT_SHA,
  13. branch: isPr ? undefined : env.SAIL_COMMIT_BRANCH,
  14. pr,
  15. isPr,
  16. slug: `${env.SAIL_REPO_OWNER}/${env.SAIL_REPO_NAME}`,
  17. root: env.SAIL_CLONE_DIR,
  18. };
  19. },
  20. };