File tree 9 files changed +50
-50
lines changed
9 files changed +50
-50
lines changed Original file line number Diff line number Diff line change @@ -9,20 +9,20 @@ before_script:
9
9
- sudo a2enmod rewrite actions fastcgi alias
10
10
- echo "cgi.fix_pathinfo = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
11
11
- ~/.phpenv/versions/$(phpenv version-name)/sbin/php-fpm
12
- - sudo cp -f tests /travis-ci-apache /etc/apache2/sites-available/default
12
+ - sudo cp -f build /travis-ci-apache /etc/apache2/sites-available/default
13
13
- sudo sed -e "s?%TRAVIS_BUILD_DIR%?$(pwd)?g" --in-place /etc/apache2/sites-available/default
14
14
- sudo service apache2 restart
15
15
- mysql -e 'create database acs;'
16
16
- php api/index.php cli install
17
17
-
php api/index.php cli add administrator [email protected] password123
18
- - cd tests && composer install && cd ..
19
- - patch -p0 < tests /sauce.patch
18
+ - composer install
19
+ - patch -p0 < build /sauce.patch
20
20
21
21
script :
22
- - tests/ vendor/bin/phpunit --configuration `pwd`/tests/phpunit.xml --coverage-clover build/logs/clover.xml
23
- - tests/ vendor/bin/paratest -p 8 -f --phpunit=tests/ vendor/bin/phpunit tests/selenium .php
22
+ - vendor/bin/phpunit --coverage-clover build/logs/clover.xml
23
+ - vendor/bin/paratest -p 8 -f --phpunit=vendor/bin/phpunit tests/SeleniumTest .php
24
24
25
- after_script : tests/ vendor/bin/test-reporter
25
+ after_script : vendor/bin/test-reporter
26
26
27
27
env :
28
28
global :
File renamed without changes.
Original file line number Diff line number Diff line change 1
- --- tests/ vendor/sauce/sausage/src/Sauce/Sausage/SauceAPI.php 2015-05-15 19:10:35.163364000 -0400
2
- +++ tests/ vendor/sauce/sausage/src/Sauce/Sausage/SauceAPI.php 2015-05-15 19:10:33.203364000 -0400
1
+ --- vendor/sauce/sausage/src/Sauce/Sausage/SauceAPI.php 2015-05-15 19:10:35.163364000 -0400
2
+ +++ vendor/sauce/sausage/src/Sauce/Sausage/SauceAPI.php 2015-05-15 19:10:33.203364000 -0400
3
3
@@ -78,7 +78,7 @@
4
4
$response = curl_exec($ch);
5
5
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 12
12
syntaxCheck =" false"
13
13
cacheTokens =" true"
14
14
verbose =" false"
15
- bootstrap =" bootstrap.php" >
15
+ bootstrap =" build/ bootstrap.php" >
16
16
<testsuites >
17
17
<testsuite name =" unit" >
18
- <file >unit .php</file >
18
+ <file >tests/UnitTest .php</file >
19
19
</testsuite >
20
20
</testsuites >
21
21
</phpunit >
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ // require_once 'vendor/autoload.php';
4
+
5
+ // class Run extends Sauce\Sausage\WebDriverTestCase
6
+ // {
7
+
8
+ // protected $start_url = 'http://localhost';
9
+
10
+ // public static $browsers = array(
11
+ // array(
12
+ // 'browserName' => 'chrome',
13
+ // 'desiredCapabilities' => array(
14
+ // 'platform' => 'Linux'
15
+ // )
16
+ // )
17
+ // );
18
+
19
+ // public function testTitle()
20
+ // {
21
+ // $this->assertContains("AngularJS CodeIgniter Seed", $this->title());
22
+ // }
23
+
24
+
25
+ // public function testUrl()
26
+ // {
27
+ // $this->assertContains("http://localhost/#/home", $this->url());
28
+ // }
29
+
30
+ // public function testLogin()
31
+ // {
32
+ // $this->url('http://localhost/#/login');
33
+ // $this->assertTextNotPresent("Logout");
34
+ // $this->byName('email')->value('[email protected] ');
35
+ // $this->byName('password')->value('password123');
36
+ // $this->byName('login')->submit();
37
+ // $this->assertTextPresent("Logout");
38
+ // }
39
+
40
+ // }
File renamed without changes.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments