Skip to content
Snippets Groups Projects
Select Git revision
  • c46c9dd095480f4803f729523d318a4825f3855e
  • master default protected
  • typos
  • development protected
  • ReadMe_Typos
  • example
  • feat/autocomplete-vscode
  • v3.3
  • v3.2
  • v3.1
  • v3.0
  • v2.2
  • v2.1
  • v2.0
  • old-example
  • v1.5
  • v1.4
  • v1.3
  • v1.0
  • v1.1
  • v1.2
21 results

HsH-standalone.cls

Blame
  • .travis.yml 4.80 KiB
    # This is the language of our project.
    language: php
    
    # Installs the required version of Firefox for Behat, an updated version
    # of PostgreSQL and extra APT packages. Java 8 is only required
    # for Mustache command.
    addons:
     postgresql: "9.5"
    
    services:
     - mysql
     - postgresql
     - docker
    
    # Cache NPM's and Composer's caches to speed up build times.
    cache:
     directories:
      - $HOME/.composer/cache
      - $HOME/.npm
    
    # Determines which versions of PHP to test our project against.  Each version
    # listed here will create a separate build and run the tests against that
    # version of PHP.
    php:
     - 7.0
     - 7.1
     - 7.2
     - 7.3
     - 7.4
    
    # This section sets up the environment variables for the build.
    env:
     global:
      # This line determines which version branch of Moodle to test against.
      - MOODLE_BRANCH=MOODLE_39_STABLE
      - IGNORE_PATHS=lang,editor,library,reporting
     # This matrix is used for testing against multiple databases.  So for
     # each version of PHP being tested, one build will be created for each
     # database listed here.  EG: for PHP 5.6, one build will be created
     # using PHP 5.6 and pgsql.  In addition, another build will be created
     # using PHP 5.6 and mysqli.
     matrix:
      - DB=pgsql
      - DB=mysqli
    
    # Optionally, it is possible to specify a different Moodle repo to use
    # (git://github.com/moodle/moodle.git is used by default):
    # - MOODLE_REPO=git://github.com/username/moodle.git
    
    # This lists steps that are run before the installation step.
    before_install:
     # This disables XDebug which should speed up the build.
     - phpenv config-rm xdebug.ini
     # Currently we are inside of the clone of your repository.  We move up two
     # directories to build the project.
     - cd ../..
     # Install this project into a directory called "ci".
     - composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
     # Update the $PATH so scripts from this project can be called easily.
     - export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
    
    # This lists steps that are run for installation and setup.
    install:
     # Run the default install.  The overview of what this does:
     #    - Clone the Moodle project into a directory called moodle.
     #    - Create a data directory called moodledata.
     #    - Create Moodle config.php, database, etc.
     #    - Copy your plugin(s) into Moodle.
     #    - Run Composer install within Moodle.
     #    - Run NPM install in Moodle and in your plugin if it has a "package.json".