Changes between Version 2 and Version 3 of DeveloperGuidelines/Testing/CI


Ignore:
Timestamp:
10/16/14 16:28:26 (7 years ago)
Author:
Arnav Sharma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Testing/CI

    v2 v3  
    10102. A new requirements.txt file is generated from [https://github.com/flavour/eden/blob/master/optional_requirements.txt optional_requirements.txt] and [https://github.com/flavour/eden/blob/master/requirements.txt requirements.txt]. In future, if any other requirements.txt (for eg: for [wiki:/DeveloperGuidelines/Testing/EdenTest EdenTest]) is also given as argument, that will also be incorporated in the generated_requirements.txt file. Note: generated_requirements.txt is not in the main branch and not in version control. Also, packages like matplotlib are installed from the binaries as installing them from pip, which builds first, takes a lot of time.
    11113. Eden is installed.
    12 4. 000_config.py is configured based on the enviorment variables. As of now, all the database systems supported by Eden are tested, namely, mysql, postgres and sqlite3.
     124. 000_config.py is configured based on the enviorment variables. As of now, all the database systems supported by Eden are tested, namely, mysql, postgres-9.1, postgres-9.3, postgres-9.3+postgis and sqlite3.
    13135. Prepopulation
    14146. !UnitTests are run
    1515
    16 Please see '''.travis.yml''' for the configuration and the files inside '''ci_bin''' directory for the scripts used above.
     16Note: For postgres-9.3, [http://initd.org/psycopg/ psycopg2] is used as the driver as the default web2py driver pg8000 does not have all the mappings.
     17
     18
     19Please see '''.travis.yml''' for the configuration and the files inside '''travis''' directory for the scripts used above.
    1720
    1821Along the way, commit status of the commits involved is updated, which in turn shows on !GitHub as either a warning that the build is still running, that the pull request should be merged with caution because the build failed, or that it can be merged safely because the build was successful.
     
    2225Rather than test the commits from the branches the pull request is sent from, it tests the merge between the origin and the upstream branch
    2326Rather than test the commits from the branches the pull request is sent from, it tests the merge between the origin and the upstream branch
     27Rather than test the commits from the branches the pull request is sent from, it tests the merge between the origin and the upstream branch