Browse Source

Update server

Abdullah Almsaeed 6 years ago
parent
commit
05d317e3d9
1 changed files with 5 additions and 4 deletions
  1. 5 4
      .travis.yml

+ 5 - 4
.travis.yml

@@ -12,7 +12,7 @@ php:
   - 7.1
 
 env:
-  - BASE_URL="http://localhost:8080"
+  - BASE_URL="http://127.0.0.1:8080"
 
 install:
   - composer global require drush/drush:8
@@ -45,13 +45,14 @@ before_script:
   - drush en -y field_group, field_group_table, field_formatter_class, field_formatter_settings, ctools, date, devel,
               ds, link, entity, libraries, redirect, token uuid, jquery_update, views, webform
 
-  # Run the drush server
-  - drush runserver localhost:8080 &
+
 
 script:
+  # Run the drush server
+  - drush runserver 127.0.0.1:8888 &
   # Link our repo to the modules directory
   - mv ../tripal sites/all/modules/tripal
-  - curl http://localhost:8080
+  - curl http://127.0.0.1:8888
 
   # Run a docker container with tripal 2 pre-installed
   - docker run -it -d --rm --name tripal2 -v "$(pwd)/tripal":/modules/tripal statonlab/tripal2