Browse Source

Fix sub-module issues

Timothy J. Warren 6 years ago
parent
commit
40399d4e56
1 changed files with 5 additions and 3 deletions
  1. 5
    3
      .travis.yml

+ 5
- 3
.travis.yml View File

@@ -9,8 +9,10 @@ before_script:
9 9
   - sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres"
10 10
   - sh -c "psql -c 'create database test;' -U postgres"
11 11
   - sh -c "mysql -e 'create database IF NOT EXISTS test;'"
12
-  - sh -c "cd ./sys/db/"
13
-  - sh -c "git submodule init"
14
-  - sh -c "cd ../../"
12
+  - git submodule update --init
13
+  - cd sys/db
14
+  - git checkout master
15
+  - git pull origin master
16
+  - cd ../../
15 17
 
16 18
 script: php ./tests/index.php